#021135#021135

#021135 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.075 H 261.8°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#021135
RGBrgb(2, 17, 53)
HSLhsl(222, 93%, 11%)
HSVhsv(222, 96%, 21%)
CMYKcmyk(96.2%, 67.9%, 0%, 79.2%)
CIE-LABlab(6.06, 9.43, -25.26)
CIE-LCHlch(6.06, 26.96, 290.47°)
OKLaboklab(19.22% -0.0107 -0.074)
OKLCHoklch(19.22% 0.075 261.8)
XYZxyz(0.8679, 0.6707, 3.4512)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021135 #352602
analogous
#022A35 #021135 #0C0235
triadic
#021135 #350211 #113502
tetradic
#021135 #35022A #352602 #02350C
square
#021135 #35022A #352602 #02350C
split-complementary
#021135 #350C02 #2A3502
monochromatic
#01091D #01091D #021135 #042470 #0637AB

Accessibility & contrast

On white

18.52
#021135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#021135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021135
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021135#FFFFFF#000000##FFFFFF
##0211351.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #021135;
/* rgb */ color: rgb(2, 17, 53);
/* oklch */ color: oklch(19.2% 0.075 261.8);
Tailwind
colors: {
  custom: {
    50: '#4c4e6c',
    500: '#021135',
    950: '#000000',
  },
}
SCSS
$custom: #021135;
$custom-light: #4c4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#021135",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 222.353,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19219,
    "c": 0.07475,
    "h": 261.8
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#021135
secondary
#795D1A
accent
#C029FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #021135

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

Preview Lab → · Contrast checker → · Palette generator →

#021135 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva