#020F30#020F30

#020F30 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.070 H 262.0°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#020F30
RGBrgb(2, 15, 48)
HSLhsl(223, 92%, 10%)
HSVhsv(223, 96%, 19%)
CMYKcmyk(95.8%, 68.7%, 0%, 81.2%)
CIE-LABlab(5.13, 7.76, -23.07)
CIE-LCHlch(5.13, 24.34, 288.59°)
OKLaboklab(18.17% -0.0097 -0.0689)
OKLCHoklch(18.17% 0.07 262)
XYZxyz(0.7292, 0.5679, 2.8669)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020F30 #302302
analogous
#022630 #020F30 #0C0230
triadic
#020F30 #30020F #0F3002
tetradic
#020F30 #300226 #302302 #02300C
square
#020F30 #300226 #302302 #02300C
split-complementary
#020F30 #300C02 #263002
monochromatic
#01091D #01091D #020F30 #04216B #0734A6

Accessibility & contrast

On white

18.86
#020F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020F30
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020F30#FFFFFF#000000##FFFFFF
##020F301.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #020f30;
/* rgb */ color: rgb(2, 15, 48);
/* oklch */ color: oklch(18.2% 0.070 262.0);
Tailwind
colors: {
  custom: {
    50: '#4a4d68',
    500: '#020f30',
    950: '#000000',
  },
}
SCSS
$custom: #020f30;
$custom-light: #4a4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#020f30",
  "rgb": {
    "r": 2,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 223.043,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18173,
    "c": 0.06954,
    "h": 262
  },
  "luminance": 0.00568
}

Semantic roles & 50–950 ramp

primary
#020F30
secondary
#755B19
accent
#C229FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020F30

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

Preview Lab → · Contrast checker → · Palette generator →

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