#02153A#02153A

#02153A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.8% C 0.077 H 260.3°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#02153A
RGBrgb(2, 21, 58)
HSLhsl(220, 93%, 12%)
HSVhsv(220, 97%, 23%)
CMYKcmyk(96.6%, 63.8%, 0%, 77.3%)
CIE-LABlab(7.72, 9.35, -26.20)
CIE-LCHlch(7.72, 27.82, 289.64°)
OKLaboklab(20.76% -0.013 -0.0757)
OKLCHoklch(20.76% 0.077 260.3)
XYZxyz(1.0566, 0.8546, 4.1114)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02153A #3A2702
analogous
#02313A #02153A #0B023A
triadic
#02153A #3A0215 #153A02
tetradic
#02153A #3A0231 #3A2702 #023A0B
square
#02153A #3A0231 #3A2702 #023A0B
split-complementary
#02153A #3A0B02 #313A02
monochromatic
#010B1E #010B1E #02153A #042A75 #0640B0

Accessibility & contrast

On white

17.93
#02153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02153A
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02153A#FFFFFF#000000##FFFFFF
##02153A1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #02153a;
/* rgb */ color: rgb(2, 21, 58);
/* oklch */ color: oklch(20.8% 0.077 260.3);
Tailwind
colors: {
  custom: {
    50: '#4e5170',
    500: '#02153a',
    950: '#000000',
  },
}
SCSS
$custom: #02153a;
$custom-light: #4e5170;
$custom-dark: #000000;
JSON
{
  "hex": "#02153a",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 219.643,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20763,
    "c": 0.07684,
    "h": 260.3
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#02153A
secondary
#7D5C1A
accent
#B629FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #02153A

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

Preview Lab → · Contrast checker → · Palette generator →

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