#02133B#02133B

#02133B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.081 H 261.9°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#02133B
RGBrgb(2, 19, 59)
HSLhsl(222, 93%, 12%)
HSVhsv(222, 97%, 23%)
CMYKcmyk(96.6%, 67.8%, 0%, 76.9%)
CIE-LABlab(7.17, 11.36, -27.81)
CIE-LCHlch(7.17, 30.04, 292.22°)
OKLaboklab(20.36% -0.0115 -0.0806)
OKLCHoklch(20.36% 0.081 261.9)
XYZxyz(1.0470, 0.7943, 4.2350)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02133B #3B2A02
analogous
#02303B #02133B #0D023B
triadic
#02133B #3B0213 #133B02
tetradic
#02133B #3B0230 #3B2A02 #023B0D
square
#02133B #3B0230 #3B2A02 #023B0D
split-complementary
#02133B #3B0D02 #303B02
monochromatic
#010A1E #010A1E #02133B #042676 #0639B1

Accessibility & contrast

On white

18.12
#02133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#02133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02133B
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02133B#FFFFFF#000000##FFFFFF
##02133B1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02133b;
/* rgb */ color: rgb(2, 19, 59);
/* oklch */ color: oklch(20.4% 0.081 261.9);
Tailwind
colors: {
  custom: {
    50: '#4e5071',
    500: '#02133b',
    950: '#000000',
  },
}
SCSS
$custom: #02133b;
$custom-light: #4e5071;
$custom-dark: #000000;
JSON
{
  "hex": "#02133b",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 222.105,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20361,
    "c": 0.08145,
    "h": 261.9
  },
  "luminance": 0.00794
}

Semantic roles & 50–950 ramp

primary
#02133B
secondary
#7E611A
accent
#BF29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #02133B

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

Preview Lab → · Contrast checker → · Palette generator →

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