#020F32#020F32

#020F32 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.073 H 262.5°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#020F32
RGBrgb(2, 15, 50)
HSLhsl(224, 92%, 10%)
HSVhsv(224, 96%, 20%)
CMYKcmyk(96%, 70%, 0%, 80.4%)
CIE-LABlab(5.28, 8.83, -24.31)
CIE-LCHlch(5.28, 25.86, 289.97°)
OKLaboklab(18.39% -0.0095 -0.0722)
OKLCHoklch(18.39% 0.073 262.5)
XYZxyz(0.7714, 0.5847, 3.0892)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020F32 #322502
analogous
#022732 #020F32 #0D0232
triadic
#020F32 #32020F #0F3202
tetradic
#020F32 #320227 #322502 #02320D
square
#020F32 #320227 #322502 #02320D
split-complementary
#020F32 #320D02 #273202
monochromatic
#01091D #01091D #020F32 #04216D #0732A8

Accessibility & contrast

On white

18.80
#020F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020F32
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020F32#FFFFFF#000000##FFFFFF
##020F321.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#00181E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #020f32;
/* rgb */ color: rgb(2, 15, 50);
/* oklch */ color: oklch(18.4% 0.073 262.5);
Tailwind
colors: {
  custom: {
    50: '#4a4d6a',
    500: '#020f32',
    950: '#000000',
  },
}
SCSS
$custom: #020f32;
$custom-light: #4a4d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#020f32",
  "rgb": {
    "r": 2,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 223.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18389,
    "c": 0.07287,
    "h": 262.5
  },
  "luminance": 0.00585
}

Semantic roles & 50–950 ramp

primary
#020F32
secondary
#765D19
accent
#C529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020F32

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

Preview Lab → · Contrast checker → · Palette generator →

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