#02153B#02153B

#02153B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.078 H 260.6°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#02153B
RGBrgb(2, 21, 59)
HSLhsl(220, 93%, 12%)
HSVhsv(220, 97%, 23%)
CMYKcmyk(96.6%, 64.4%, 0%, 76.9%)
CIE-LABlab(7.81, 9.85, -26.77)
CIE-LCHlch(7.81, 28.52, 290.20°)
OKLaboklab(20.86% -0.0129 -0.0774)
OKLCHoklch(20.86% 0.078 260.6)
XYZxyz(1.0823, 0.8649, 4.2467)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02153B #3B2802
analogous
#02323B #02153B #0C023B
triadic
#02153B #3B0215 #153B02
tetradic
#02153B #3B0232 #3B2802 #023B0C
square
#02153B #3B0232 #3B2802 #023B0C
split-complementary
#02153B #3B0C02 #323B02
monochromatic
#010B1E #010B1E #02153B #042A76 #063FB1

Accessibility & contrast

On white

17.90
#02153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02153B
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02153B#FFFFFF#000000##FFFFFF
##02153B1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #02153b;
/* rgb */ color: rgb(2, 21, 59);
/* oklch */ color: oklch(20.9% 0.078 260.6);
Tailwind
colors: {
  custom: {
    50: '#4e5171',
    500: '#02153b',
    950: '#000000',
  },
}
SCSS
$custom: #02153b;
$custom-light: #4e5171;
$custom-dark: #000000;
JSON
{
  "hex": "#02153b",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 220,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20864,
    "c": 0.07846,
    "h": 260.6
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#02153B
secondary
#7E5D1A
accent
#B829FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #02153B

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

Preview Lab → · Contrast checker → · Palette generator →

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