#020A2B#020A2B

#020A2B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.069 H 264.6°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#020A2B
RGBrgb(2, 10, 43)
HSLhsl(228, 91%, 9%)
HSVhsv(228, 95%, 17%)
CMYKcmyk(95.3%, 76.7%, 0%, 83.1%)
CIE-LABlab(3.65, 7.59, -21.67)
CIE-LCHlch(3.65, 22.96, 289.30°)
OKLaboklab(16.35% -0.0065 -0.0686)
OKLCHoklch(16.35% 0.069 264.6)
XYZxyz(0.5695, 0.4043, 2.3331)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A2B #2B2302
analogous
#021F2B #020A2B #0F022B
triadic
#020A2B #2B020A #0A2B02
tetradic
#020A2B #2B021F #2B2302 #022B0F
square
#020A2B #2B021F #2B2302 #022B0F
split-complementary
#020A2B #2B0F02 #1F2B02
monochromatic
#01071D #01071D #020A2B #051865 #0725A0

Accessibility & contrast

On white

19.43
#020A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#020A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020A2B
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A2B#FFFFFF#000000##FFFFFF
##020A2B1.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#000B2A
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020a2b;
/* rgb */ color: rgb(2, 10, 43);
/* oklch */ color: oklch(16.4% 0.069 264.6);
Tailwind
colors: {
  custom: {
    50: '#484b64',
    500: '#020a2b',
    950: '#000000',
  },
}
SCSS
$custom: #020a2b;
$custom-light: #484b64;
$custom-dark: #000000;
JSON
{
  "hex": "#020a2b",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 228.293,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1635,
    "c": 0.06888,
    "h": 264.6
  },
  "luminance": 0.00404
}

Semantic roles & 50–950 ramp

primary
#020A2B
secondary
#705F19
accent
#D529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #020A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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