#02133A#02133A

#02133A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.080 H 261.6°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#02133A
RGBrgb(2, 19, 58)
HSLhsl(222, 93%, 12%)
HSVhsv(222, 97%, 23%)
CMYKcmyk(96.6%, 67.2%, 0%, 77.3%)
CIE-LABlab(7.08, 10.85, -27.24)
CIE-LCHlch(7.08, 29.32, 291.71°)
OKLaboklab(20.26% -0.0116 -0.079)
OKLCHoklch(20.26% 0.08 261.6)
XYZxyz(1.0214, 0.7840, 4.0997)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02133A #3A2902
analogous
#022F3A #02133A #0D023A
triadic
#02133A #3A0213 #133A02
tetradic
#02133A #3A022F #3A2902 #023A0D
square
#02133A #3A022F #3A2902 #023A0D
split-complementary
#02133A #3A0D02 #2F3A02
monochromatic
#010A1E #010A1E #02133A #042675 #063AB0

Accessibility & contrast

On white

18.15
#02133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02133A
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02133A#FFFFFF#000000##FFFFFF
##02133A1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #02133a;
/* rgb */ color: rgb(2, 19, 58);
/* oklch */ color: oklch(20.3% 0.080 261.6);
Tailwind
colors: {
  custom: {
    50: '#4e5070',
    500: '#02133a',
    950: '#000000',
  },
}
SCSS
$custom: #02133a;
$custom-light: #4e5070;
$custom-dark: #000000;
JSON
{
  "hex": "#02133a",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 221.786,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20255,
    "c": 0.07985,
    "h": 261.6
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#02133A
secondary
#7D5F1A
accent
#BE29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #02133A

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

Preview Lab → · Contrast checker → · Palette generator →

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