#02143B#02143B

#02143B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.080 H 261.2°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#02143B
RGBrgb(2, 20, 59)
HSLhsl(221, 93%, 12%)
HSVhsv(221, 97%, 23%)
CMYKcmyk(96.6%, 66.1%, 0%, 76.9%)
CIE-LABlab(7.49, 10.63, -27.30)
CIE-LCHlch(7.49, 29.29, 291.27°)
OKLaboklab(20.61% -0.0122 -0.079)
OKLCHoklch(20.61% 0.08 261.2)
XYZxyz(1.0643, 0.8288, 4.2407)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02143B #3B2902
analogous
#02313B #02143B #0D023B
triadic
#02143B #3B0214 #143B02
tetradic
#02143B #3B0231 #3B2902 #023B0D
square
#02143B #3B0231 #3B2902 #023B0D
split-complementary
#02143B #3B0D02 #313B02
monochromatic
#010A1E #010A1E #02143B #042876 #063CB1

Accessibility & contrast

On white

18.01
#02143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#02143B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02143B
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02143B#FFFFFF#000000##FFFFFF
##02143B1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #02143b;
/* rgb */ color: rgb(2, 20, 59);
/* oklch */ color: oklch(20.6% 0.080 261.2);
Tailwind
colors: {
  custom: {
    50: '#4e5071',
    500: '#02143b',
    950: '#000000',
  },
}
SCSS
$custom: #02143b;
$custom-light: #4e5071;
$custom-dark: #000000;
JSON
{
  "hex": "#02143b",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 221.053,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20611,
    "c": 0.07995,
    "h": 261.2
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#02143B
secondary
#7E5F1A
accent
#BB29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #02143B

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

Preview Lab → · Contrast checker → · Palette generator →

#02143B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva