#020B35#020B35

#020B35 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.084 H 265.0°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#020B35
RGBrgb(2, 11, 53)
HSLhsl(229, 93%, 11%)
HSVhsv(229, 96%, 21%)
CMYKcmyk(96.2%, 79.2%, 0%, 79.2%)
CIE-LABlab(4.60, 12.42, -27.61)
CIE-LCHlch(4.60, 30.28, 294.21°)
OKLaboklab(17.79% -0.0072 -0.0833)
OKLCHoklch(17.79% 0.084 265)
XYZxyz(0.7871, 0.5092, 3.4243)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B35 #352C02
analogous
#022435 #020B35 #120235
triadic
#020B35 #35020B #0B3502
tetradic
#020B35 #350224 #352C02 #023512
square
#020B35 #350224 #352C02 #023512
split-complementary
#020B35 #351202 #243502
monochromatic
#01061D #01061D #020B35 #041770 #0623AB

Accessibility & contrast

On white

19.06
#020B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020B35
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B35#FFFFFF#000000##FFFFFF
##020B351.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#000D34
Tritanopia (blue-blind)
#00171E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #020b35;
/* rgb */ color: rgb(2, 11, 53);
/* oklch */ color: oklch(17.8% 0.084 265.0);
Tailwind
colors: {
  custom: {
    50: '#4b4b6d',
    500: '#020b35',
    950: '#000000',
  },
}
SCSS
$custom: #020b35;
$custom-light: #4b4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#020b35",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 229.412,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17793,
    "c": 0.08359,
    "h": 265
  },
  "luminance": 0.00509
}

Semantic roles & 50–950 ramp

primary
#020B35
secondary
#79681A
accent
#D929FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #020B35

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

Preview Lab → · Contrast checker → · Palette generator →

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