#02072F#02072F

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

Color values

HEX#02072F
RGBrgb(2, 7, 47)
HSLhsl(233, 92%, 10%)
HSVhsv(233, 96%, 18%)
CMYKcmyk(95.7%, 85.1%, 0%, 81.6%)
CIE-LABlab(3.34, 10.74, -25.17)
CIE-LCHlch(3.34, 27.37, 293.11°)
OKLaboklab(16.1% -0.0049 -0.08)
OKLCHoklch(16.1% 0.08 266.5)
XYZxyz(0.6139, 0.3700, 2.7278)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02072F #2F2A02
analogous
#021E2F #02072F #14022F
triadic
#02072F #2F0207 #072F02
tetradic
#02072F #2F021E #2F2A02 #022F14
square
#02072F #2F021E #2F2A02 #022F14
split-complementary
#02072F #2F1402 #1E2F02
monochromatic
#01041D #01041D #02072F #04106A #0718A4

Accessibility & contrast

On white

19.55
#02072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02072F
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02072F#FFFFFF#000000##FFFFFF
##02072F1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #02072f;
/* rgb */ color: rgb(2, 7, 47);
/* oklch */ color: oklch(16.1% 0.080 266.5);
Tailwind
colors: {
  custom: {
    50: '#494968',
    500: '#02072f',
    950: '#000000',
  },
}
SCSS
$custom: #02072f;
$custom-light: #494968;
$custom-dark: #000000;
JSON
{
  "hex": "#02072f",
  "rgb": {
    "r": 2,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 233.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16102,
    "c": 0.08014,
    "h": 266.5
  },
  "luminance": 0.0037
}

Semantic roles & 50–950 ramp

primary
#02072F
secondary
#746A19
accent
#E729FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #02072F

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

Preview Lab → · Contrast checker → · Palette generator →

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