#020304#020304

#020304 is a very dark, near-neutral cyan. Relative luminance 0.001; OKLCH L 9.5% C 0.006 H 243.1°. Best body text is #FFFFFF at 20.64:1 contrast (WCAG AA passes).

Color values

HEX#020304
RGBrgb(2, 3, 4)
HSLhsl(210, 33%, 1%)
HSVhsv(210, 50%, 2%)
CMYKcmyk(50%, 25%, 0%, 98.4%)
CIE-LABlab(0.78, -0.12, -0.47)
CIE-LCHlch(0.78, 0.49, 255.36°)
OKLaboklab(9.52% -0.0028 -0.0055)
OKLCHoklch(9.52% 0.006 243.1)
XYZxyz(0.0795, 0.0868, 0.1274)
Luminance0.0009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020304 #040302
analogous
#020404 #020304 #020204
triadic
#020304 #040203 #030402
tetradic
#020304 #040204 #040302 #020402
square
#020304 #040204 #040302 #020402
split-complementary
#020304 #040202 #040402
monochromatic
#0A0F14 #0A0F14 #0A0F14 #16222D #2B4056

Accessibility & contrast

On white

20.64
#020304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020304
20.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020304#FFFFFF#000000##FFFFFF
##0203041.0020.641.0220.64
#FFFFFF20.641.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030304
Deuteranopia (green-blind)
#020304
Tritanopia (blue-blind)
#020303
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #020304;
/* rgb */ color: rgb(2, 3, 4);
/* oklch */ color: oklch(9.5% 0.006 243.1);
Tailwind
colors: {
  custom: {
    50: '#484848',
    500: '#020304',
    950: '#000000',
  },
}
SCSS
$custom: #020304;
$custom-light: #484848;
$custom-dark: #000000;
JSON
{
  "hex": "#020304",
  "rgb": {
    "r": 2,
    "g": 3,
    "b": 4
  },
  "hsl": {
    "h": 210,
    "s": 33.333,
    "l": 1.176
  },
  "oklch": {
    "l": 0.09515,
    "c": 0.00612,
    "h": 243.1
  },
  "luminance": 0.00087
}

Semantic roles & 50–950 ramp

primary
#020304
secondary
#3C3125
accent
#945EC9
background
#F4F4F4
surface
#E6E6E6
border
#C2C2C2
text
#000000
muted
#777777

Preview Lab

Preview with #020304

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

Preview Lab → · Contrast checker → · Palette generator →

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