#020E36#020E36

#020E36 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.081 H 263.8°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#020E36
RGBrgb(2, 14, 54)
HSLhsl(226, 93%, 11%)
HSVhsv(226, 96%, 21%)
CMYKcmyk(96.3%, 74.1%, 0%, 78.8%)
CIE-LABlab(5.36, 11.63, -27.12)
CIE-LCHlch(5.36, 29.51, 293.21°)
OKLaboklab(18.6% -0.0088 -0.0804)
OKLCHoklch(18.6% 0.081 263.8)
XYZxyz(0.8477, 0.5932, 3.5591)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E36 #362A02
analogous
#022836 #020E36 #100236
triadic
#020E36 #36020E #0E3602
tetradic
#020E36 #360228 #362A02 #023610
square
#020E36 #360228 #362A02 #023610
split-complementary
#020E36 #361002 #283602
monochromatic
#01081E #01081E #020E36 #041D71 #062DAC

Accessibility & contrast

On white

18.77
#020E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#020E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020E36
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E36#FFFFFF#000000##FFFFFF
##020E361.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#001920
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #020e36;
/* rgb */ color: rgb(2, 14, 54);
/* oklch */ color: oklch(18.6% 0.081 263.8);
Tailwind
colors: {
  custom: {
    50: '#4c4c6d',
    500: '#020e36',
    950: '#000000',
  },
}
SCSS
$custom: #020e36;
$custom-light: #4c4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#020e36",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 226.154,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18596,
    "c": 0.08087,
    "h": 263.8
  },
  "luminance": 0.00593
}

Semantic roles & 50–950 ramp

primary
#020E36
secondary
#7A641A
accent
#CE29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #020E36

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

Preview Lab → · Contrast checker → · Palette generator →

#020E36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva