#020E30#020E30

#020E30 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.071 H 262.8°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#020E30
RGBrgb(2, 14, 48)
HSLhsl(224, 92%, 10%)
HSVhsv(224, 96%, 19%)
CMYKcmyk(95.8%, 70.8%, 0%, 81.2%)
CIE-LABlab(4.88, 8.27, -23.47)
CIE-LCHlch(4.88, 24.88, 289.41°)
OKLaboklab(17.92% -0.009 -0.0705)
OKLCHoklch(17.92% 0.071 262.8)
XYZxyz(0.7154, 0.5403, 2.8623)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E30 #302402
analogous
#022530 #020E30 #0D0230
triadic
#020E30 #30020E #0E3002
tetradic
#020E30 #300225 #302402 #02300D
square
#020E30 #300225 #302402 #02300D
split-complementary
#020E30 #300D02 #253002
monochromatic
#01091D #01091D #020E30 #041F6B #0730A6

Accessibility & contrast

On white

18.95
#020E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#020E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020E30
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E30#FFFFFF#000000##FFFFFF
##020E301.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#000E2F
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #020e30;
/* rgb */ color: rgb(2, 14, 48);
/* oklch */ color: oklch(17.9% 0.071 262.8);
Tailwind
colors: {
  custom: {
    50: '#4a4d68',
    500: '#020e30',
    950: '#000000',
  },
}
SCSS
$custom: #020e30;
$custom-light: #4a4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#020e30",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 48
  },
  "hsl": {
    "h": 224.348,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17917,
    "c": 0.07109,
    "h": 262.8
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#020E30
secondary
#755D19
accent
#C729FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020E30

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

Preview Lab → · Contrast checker → · Palette generator →

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