#020A34#020A34

#020A34 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.083 H 265.4°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#020A34
RGBrgb(2, 10, 52)
HSLhsl(230, 93%, 11%)
HSVhsv(230, 96%, 20%)
CMYKcmyk(96.2%, 80.8%, 0%, 79.6%)
CIE-LABlab(4.32, 12.25, -27.33)
CIE-LCHlch(4.32, 29.95, 294.14°)
OKLaboklab(17.45% -0.0067 -0.0831)
OKLCHoklch(17.45% 0.083 265.4)
XYZxyz(0.7532, 0.4778, 3.3007)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A34 #342C02
analogous
#022334 #020A34 #130234
triadic
#020A34 #34020A #0A3402
tetradic
#020A34 #340223 #342C02 #023413
square
#020A34 #340223 #342C02 #023413
split-complementary
#020A34 #341302 #233402
monochromatic
#01061D #01061D #020A34 #04156F #0721AA

Accessibility & contrast

On white

19.17
#020A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#020A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020A34
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A34#FFFFFF#000000##FFFFFF
##020A341.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#000C33
Tritanopia (blue-blind)
#00161D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020a34;
/* rgb */ color: rgb(2, 10, 52);
/* oklch */ color: oklch(17.4% 0.083 265.4);
Tailwind
colors: {
  custom: {
    50: '#4b4b6c',
    500: '#020a34',
    950: '#000000',
  },
}
SCSS
$custom: #020a34;
$custom-light: #4b4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#020a34",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 230.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.1745,
    "c": 0.08342,
    "h": 265.4
  },
  "luminance": 0.00478
}

Semantic roles & 50–950 ramp

primary
#020A34
secondary
#78691A
accent
#DD29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #020A34

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

Preview Lab → · Contrast checker → · Palette generator →

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