#020306#020306

#020306 is a very dark, near-neutral blue. Relative luminance 0.001; OKLCH L 9.7% C 0.013 H 265.0°. Best body text is #FFFFFF at 20.62:1 contrast (WCAG AA passes).

Color values

HEX#020306
RGBrgb(2, 3, 6)
HSLhsl(225, 50%, 2%)
HSVhsv(225, 67%, 2%)
CMYKcmyk(66.7%, 50%, 0%, 97.6%)
CIE-LABlab(0.82, 0.16, -1.23)
CIE-LCHlch(0.82, 1.24, 277.26°)
OKLaboklab(9.72% -0.0011 -0.0125)
OKLCHoklch(9.72% 0.013 265)
XYZxyz(0.0905, 0.0912, 0.1851)
Luminance0.0009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020306 #060502
analogous
#020506 #020306 #030206
triadic
#020306 #060203 #030602
tetradic
#020306 #060205 #060502 #020603
square
#020306 #060205 #060502 #020603
split-complementary
#020306 #060302 #050602
monochromatic
#080B17 #080B17 #080B17 #111A34 #213162

Accessibility & contrast

On white

20.62
#020306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#020306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020306
20.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020306#FFFFFF#000000##FFFFFF
##0203061.0020.621.0220.62
#FFFFFF20.621.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020306
Deuteranopia (green-blind)
#020306
Tritanopia (blue-blind)
#010404
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #020306;
/* rgb */ color: rgb(2, 3, 6);
/* oklch */ color: oklch(9.7% 0.013 265.0);
Tailwind
colors: {
  custom: {
    50: '#484849',
    500: '#020306',
    950: '#000000',
  },
}
SCSS
$custom: #020306;
$custom-light: #484849;
$custom-dark: #000000;
JSON
{
  "hex": "#020306",
  "rgb": {
    "r": 2,
    "g": 3,
    "b": 6
  },
  "hsl": {
    "h": 225,
    "s": 50,
    "l": 1.569
  },
  "oklch": {
    "l": 0.09719,
    "c": 0.01251,
    "h": 265
  },
  "luminance": 0.00091
}

Semantic roles & 50–950 ramp

primary
#020306
secondary
#433B20
accent
#B74EDA
background
#F4F4F4
surface
#E6E6E6
border
#C2C2C2
text
#000000
muted
#777777

Preview Lab

Preview with #020306

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

Preview Lab → · Contrast checker → · Palette generator →

#020306 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva