#020F35#020F35

#020F35 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.078 H 263.1°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#020F35
RGBrgb(2, 15, 53)
HSLhsl(225, 93%, 11%)
HSVhsv(225, 96%, 21%)
CMYKcmyk(96.2%, 71.7%, 0%, 79.2%)
CIE-LABlab(5.52, 10.53, -26.12)
CIE-LCHlch(5.52, 28.17, 291.95°)
OKLaboklab(18.72% -0.0094 -0.0772)
OKLCHoklch(18.72% 0.078 263.1)
XYZxyz(0.8382, 0.6115, 3.4413)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020F35 #352802
analogous
#022835 #020F35 #0E0235
triadic
#020F35 #35020F #0F3502
tetradic
#020F35 #350228 #352802 #02350E
square
#020F35 #350228 #352802 #02350E
split-complementary
#020F35 #350E02 #283502
monochromatic
#01081D #01081D #020F35 #042070 #0630AB

Accessibility & contrast

On white

18.71
#020F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020F35
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020F35#FFFFFF#000000##FFFFFF
##020F351.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#001034
Tritanopia (blue-blind)
#001920
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #020f35;
/* rgb */ color: rgb(2, 15, 53);
/* oklch */ color: oklch(18.7% 0.078 263.1);
Tailwind
colors: {
  custom: {
    50: '#4c4d6d',
    500: '#020f35',
    950: '#000000',
  },
}
SCSS
$custom: #020f35;
$custom-light: #4c4d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#020f35",
  "rgb": {
    "r": 2,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 224.706,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18721,
    "c": 0.07777,
    "h": 263.1
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#020F35
secondary
#79611A
accent
#C829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #020F35

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

Preview Lab → · Contrast checker → · Palette generator →

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