#02113A#02113A

#02113A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.083 H 262.8°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#02113A
RGBrgb(2, 17, 58)
HSLhsl(224, 93%, 12%)
HSVhsv(224, 97%, 23%)
CMYKcmyk(96.6%, 70.7%, 0%, 77.3%)
CIE-LABlab(6.50, 12.19, -28.19)
CIE-LCHlch(6.50, 30.71, 293.38°)
OKLaboklab(19.77% -0.0104 -0.0822)
OKLCHoklch(19.77% 0.083 262.8)
XYZxyz(0.9889, 0.7192, 4.0889)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02113A #3A2B02
analogous
#022D3A #02113A #0F023A
triadic
#02113A #3A0211 #113A02
tetradic
#02113A #3A022D #3A2B02 #023A0F
square
#02113A #3A022D #3A2B02 #023A0F
split-complementary
#02113A #3A0F02 #2D3A02
monochromatic
#01091E #01091E #02113A #042275 #0634B0

Accessibility & contrast

On white

18.36
#02113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#02113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02113A
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02113A#FFFFFF#000000##FFFFFF
##02113A1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #02113a;
/* rgb */ color: rgb(2, 17, 58);
/* oklch */ color: oklch(19.8% 0.083 262.8);
Tailwind
colors: {
  custom: {
    50: '#4e4e71',
    500: '#02113a',
    950: '#000000',
  },
}
SCSS
$custom: #02113a;
$custom-light: #4e4e71;
$custom-dark: #000000;
JSON
{
  "hex": "#02113a",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 223.929,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19765,
    "c": 0.08282,
    "h": 262.8
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#02113A
secondary
#7D631A
accent
#C629FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #02113A

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

Preview Lab → · Contrast checker → · Palette generator →

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