#02193B#02193B

#02193B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.072 H 257.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#02193B
RGBrgb(2, 25, 59)
HSLhsl(216, 93%, 12%)
HSVhsv(216, 97%, 23%)
CMYKcmyk(96.6%, 57.6%, 0%, 76.9%)
CIE-LABlab(9.19, 6.61, -24.54)
CIE-LCHlch(9.19, 25.41, 285.07°)
OKLaboklab(21.92% -0.0159 -0.0707)
OKLCHoklch(21.92% 0.072 257.3)
XYZxyz(1.1618, 1.0238, 4.2732)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02193B #3B2402
analogous
#02363B #02193B #07023B
triadic
#02193B #3B0219 #193B02
tetradic
#02193B #3B0236 #3B2402 #023B07
square
#02193B #3B0236 #3B2402 #023B07
split-complementary
#02193B #3B0702 #363B02
monochromatic
#010D1E #010D1E #02193B #043276 #064BB1

Accessibility & contrast

On white

17.43
#02193B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#02193B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02193B
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02193B#FFFFFF#000000##FFFFFF
##02193B1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #02193b;
/* rgb */ color: rgb(2, 25, 59);
/* oklch */ color: oklch(21.9% 0.072 257.3);
Tailwind
colors: {
  custom: {
    50: '#4e5571',
    500: '#02193b',
    950: '#000000',
  },
}
SCSS
$custom: #02193b;
$custom-light: #4e5571;
$custom-dark: #000000;
JSON
{
  "hex": "#02193b",
  "rgb": {
    "r": 2,
    "g": 25,
    "b": 59
  },
  "hsl": {
    "h": 215.789,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21915,
    "c": 0.07249,
    "h": 257.3
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#02193B
secondary
#7E561A
accent
#A929FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #02193B

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

Preview Lab → · Contrast checker → · Palette generator →

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