#02072D#02072D

#02072D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 15.8% C 0.077 H 266.5°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#02072D
RGBrgb(2, 7, 45)
HSLhsl(233, 91%, 9%)
HSVhsv(233, 96%, 18%)
CMYKcmyk(95.6%, 84.4%, 0%, 82.4%)
CIE-LABlab(3.20, 9.74, -23.89)
CIE-LCHlch(3.20, 25.80, 292.18°)
OKLaboklab(15.84% -0.0047 -0.0768)
OKLCHoklch(15.84% 0.077 266.5)
XYZxyz(0.5745, 0.3543, 2.5202)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02072D #2D2802
analogous
#021D2D #02072D #13022D
triadic
#02072D #2D0207 #072D02
tetradic
#02072D #2D021D #2D2802 #022D13
square
#02072D #2D021D #2D2802 #022D13
split-complementary
#02072D #2D1302 #1D2D02
monochromatic
#01051D #01051D #02072D #051068 #0719A2

Accessibility & contrast

On white

19.61
#02072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#02072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02072D
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02072D#FFFFFF#000000##FFFFFF
##02072D1.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2E
Deuteranopia (green-blind)
#00092C
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #02072d;
/* rgb */ color: rgb(2, 7, 45);
/* oklch */ color: oklch(15.8% 0.077 266.5);
Tailwind
colors: {
  custom: {
    50: '#494a66',
    500: '#02072d',
    950: '#000000',
  },
}
SCSS
$custom: #02072d;
$custom-light: #494a66;
$custom-dark: #000000;
JSON
{
  "hex": "#02072d",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 233.023,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15838,
    "c": 0.07699,
    "h": 266.5
  },
  "luminance": 0.00354
}

Semantic roles & 50–950 ramp

primary
#02072D
secondary
#726819
accent
#E629FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010106
muted
#77777A

Preview Lab

Preview with #02072D

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

Preview Lab → · Contrast checker → · Palette generator →

#02072D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva