#020B26#020B26

#020B26 is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.0% C 0.059 H 262.7°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#020B26
RGBrgb(2, 11, 38)
HSLhsl(225, 90%, 8%)
HSVhsv(225, 95%, 15%)
CMYKcmyk(94.7%, 71.1%, 0%, 85.1%)
CIE-LABlab(3.54, 4.99, -18.03)
CIE-LCHlch(3.54, 18.70, 285.46°)
OKLaboklab(16.04% -0.0075 -0.0583)
OKLCHoklch(16.04% 0.059 262.7)
XYZxyz(0.4944, 0.3921, 1.8830)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B26 #261D02
analogous
#021D26 #020B26 #0B0226
triadic
#020B26 #26020B #0B2602
tetradic
#020B26 #26021D #261D02 #02260B
square
#020B26 #26021D #261D02 #02260B
split-complementary
#020B26 #260B02 #1D2602
monochromatic
#02081D #02081D #020B26 #051C60 #082D9A

Accessibility & contrast

On white

19.47
#020B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020B26
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B26#FFFFFF#000000##FFFFFF
##020B261.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F27
Deuteranopia (green-blind)
#000B25
Tritanopia (blue-blind)
#001216
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020b26;
/* rgb */ color: rgb(2, 11, 38);
/* oklch */ color: oklch(16.0% 0.059 262.7);
Tailwind
colors: {
  custom: {
    50: '#474b60',
    500: '#020b26',
    950: '#000000',
  },
}
SCSS
$custom: #020b26;
$custom-light: #474b60;
$custom-dark: #000000;
JSON
{
  "hex": "#020b26",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 38
  },
  "hsl": {
    "h": 225,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16044,
    "c": 0.05876,
    "h": 262.7
  },
  "luminance": 0.00392
}

Semantic roles & 50–950 ramp

primary
#020B26
secondary
#6B5718
accent
#C929FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #020B26

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

Preview Lab → · Contrast checker → · Palette generator →

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