#021430#021430

#021430 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.062 H 257.1°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#021430
RGBrgb(2, 20, 48)
HSLhsl(217, 92%, 10%)
HSVhsv(217, 96%, 19%)
CMYKcmyk(95.8%, 58.3%, 0%, 81.2%)
CIE-LABlab(6.56, 4.83, -20.78)
CIE-LCHlch(6.56, 21.34, 283.09°)
OKLaboklab(19.52% -0.0138 -0.0603)
OKLCHoklch(19.52% 0.062 257.1)
XYZxyz(0.8085, 0.7265, 2.8934)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021430 #301E02
analogous
#022B30 #021430 #070230
triadic
#021430 #300214 #143002
tetradic
#021430 #30022B #301E02 #023007
square
#021430 #30022B #301E02 #023007
split-complementary
#021430 #300702 #2B3002
monochromatic
#010C1D #010C1D #021430 #042C6B #0745A6

Accessibility & contrast

On white

18.33
#021430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021430
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021430#FFFFFF#000000##FFFFFF
##0214301.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051731
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021430;
/* rgb */ color: rgb(2, 20, 48);
/* oklch */ color: oklch(19.5% 0.062 257.1);
Tailwind
colors: {
  custom: {
    50: '#4a5168',
    500: '#021430',
    950: '#000000',
  },
}
SCSS
$custom: #021430;
$custom-light: #4a5168;
$custom-dark: #000000;
JSON
{
  "hex": "#021430",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 48
  },
  "hsl": {
    "h": 216.522,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19523,
    "c": 0.06184,
    "h": 257.1
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#021430
secondary
#755119
accent
#AB29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021430

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#021430 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva