#02193A#02193A

#02193A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.071 H 256.9°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#02193A
RGBrgb(2, 25, 58)
HSLhsl(215, 93%, 12%)
HSVhsv(215, 97%, 23%)
CMYKcmyk(96.6%, 56.9%, 0%, 77.3%)
CIE-LABlab(9.10, 6.12, -23.96)
CIE-LCHlch(9.10, 24.73, 284.32°)
OKLaboklab(21.82% -0.0161 -0.069)
OKLCHoklch(21.82% 0.071 256.9)
XYZxyz(1.1361, 1.0135, 4.1379)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02193A #3A2302
analogous
#02353A #02193A #07023A
triadic
#02193A #3A0219 #193A02
tetradic
#02193A #3A0235 #3A2302 #023A07
square
#02193A #3A0235 #3A2302 #023A07
split-complementary
#02193A #3A0702 #353A02
monochromatic
#010D1E #010D1E #02193A #043375 #064CB0

Accessibility & contrast

On white

17.46
#02193A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02193A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02193A#FFFFFF#000000##FFFFFF
##02193A1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #02193a;
/* rgb */ color: rgb(2, 25, 58);
/* oklch */ color: oklch(21.8% 0.071 256.9);
Tailwind
colors: {
  custom: {
    50: '#4d5570',
    500: '#02193a',
    950: '#000000',
  },
}
SCSS
$custom: #02193a;
$custom-light: #4d5570;
$custom-dark: #000000;
JSON
{
  "hex": "#02193a",
  "rgb": {
    "r": 2,
    "g": 25,
    "b": 58
  },
  "hsl": {
    "h": 215.357,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21823,
    "c": 0.07087,
    "h": 256.9
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#02193A
secondary
#7D551A
accent
#A729FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #02193A

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

Preview Lab → · Contrast checker → · Palette generator →

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