#020A30#020A30

#020A30 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.077 H 265.1°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#020A30
RGBrgb(2, 10, 48)
HSLhsl(230, 92%, 10%)
HSVhsv(230, 96%, 19%)
CMYKcmyk(95.8%, 79.2%, 0%, 81.2%)
CIE-LABlab(4.00, 10.06, -24.87)
CIE-LCHlch(4.00, 26.82, 292.03°)
OKLaboklab(16.95% -0.0065 -0.0768)
OKLCHoklch(16.95% 0.077 265.1)
XYZxyz(0.6669, 0.4433, 2.8461)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A30 #302802
analogous
#022130 #020A30 #110230
triadic
#020A30 #30020A #0A3002
tetradic
#020A30 #300221 #302802 #023011
square
#020A30 #300221 #302802 #023011
split-complementary
#020A30 #301102 #213002
monochromatic
#01061D #01061D #020A30 #04166B #0722A6

Accessibility & contrast

On white

19.29
#020A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#020A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020A30
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A30#FFFFFF#000000##FFFFFF
##020A301.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#000C2F
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #020a30;
/* rgb */ color: rgb(2, 10, 48);
/* oklch */ color: oklch(17.0% 0.077 265.1);
Tailwind
colors: {
  custom: {
    50: '#4a4b68',
    500: '#020a30',
    950: '#000000',
  },
}
SCSS
$custom: #020a30;
$custom-light: #4a4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#020a30",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 229.565,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16951,
    "c": 0.07709,
    "h": 265.1
  },
  "luminance": 0.00443
}

Semantic roles & 50–950 ramp

primary
#020A30
secondary
#756519
accent
#DA29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020A30

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

Preview Lab → · Contrast checker → · Palette generator →

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