#071239#071239

#071239 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.077 H 266.8°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#071239
RGBrgb(7, 18, 57)
HSLhsl(227, 78%, 13%)
HSVhsv(227, 88%, 22%)
CMYKcmyk(87.7%, 68.4%, 0%, 77.6%)
CIE-LABlab(6.98, 12.02, -26.66)
CIE-LCHlch(6.98, 29.24, 294.26°)
OKLaboklab(20.23% -0.0043 -0.0772)
OKLCHoklch(20.23% 0.077 266.8)
XYZxyz(1.0422, 0.7731, 3.9644)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071239 #392E07
analogous
#072B39 #071239 #150739
triadic
#071239 #390712 #123907
tetradic
#071239 #39072B #392E07 #073915
square
#071239 #39072B #392E07 #073915
split-complementary
#071239 #391507 #2B3907
monochromatic
#03091B #03091B #071239 #0E2370 #1434A6

Accessibility & contrast

On white

18.19
#071239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#071239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071239
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071239#FFFFFF#000000##FFFFFF
##0712391.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #071239;
/* rgb */ color: rgb(7, 18, 57);
/* oklch */ color: oklch(20.2% 0.077 266.8);
Tailwind
colors: {
  custom: {
    50: '#504f70',
    500: '#071239',
    950: '#000000',
  },
}
SCSS
$custom: #071239;
$custom-light: #504f70;
$custom-dark: #000000;
JSON
{
  "hex": "#071239",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 226.8,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20233,
    "c": 0.07735,
    "h": 266.8
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#071239
secondary
#796623
accent
#CA33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #071239

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

Preview Lab → · Contrast checker → · Palette generator →

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