#02143A#02143A

#02143A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.078 H 261.0°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#02143A
RGBrgb(2, 20, 58)
HSLhsl(221, 93%, 12%)
HSVhsv(221, 97%, 23%)
CMYKcmyk(96.6%, 65.5%, 0%, 77.3%)
CIE-LABlab(7.39, 10.12, -26.73)
CIE-LCHlch(7.39, 28.58, 290.73°)
OKLaboklab(20.51% -0.0123 -0.0774)
OKLCHoklch(20.51% 0.078 261)
XYZxyz(1.0386, 0.8186, 4.1054)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02143A #3A2802
analogous
#02303A #02143A #0C023A
triadic
#02143A #3A0214 #143A02
tetradic
#02143A #3A0230 #3A2802 #023A0C
square
#02143A #3A0230 #3A2802 #023A0C
split-complementary
#02143A #3A0C02 #303A02
monochromatic
#010A1E #010A1E #02143A #042875 #063DB0

Accessibility & contrast

On white

18.04
#02143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#02143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02143A
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02143A#FFFFFF#000000##FFFFFF
##02143A1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #02143a;
/* rgb */ color: rgb(2, 20, 58);
/* oklch */ color: oklch(20.5% 0.078 261.0);
Tailwind
colors: {
  custom: {
    50: '#4e5070',
    500: '#02143a',
    950: '#000000',
  },
}
SCSS
$custom: #02143a;
$custom-light: #4e5070;
$custom-dark: #000000;
JSON
{
  "hex": "#02143a",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 220.714,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20507,
    "c": 0.07835,
    "h": 261
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#02143A
secondary
#7D5E1A
accent
#BA29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #02143A

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

Preview Lab → · Contrast checker → · Palette generator →

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