#071237#071237

#071237 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.0% C 0.074 H 266.6°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#071237
RGBrgb(7, 18, 55)
HSLhsl(226, 77%, 12%)
HSVhsv(226, 87%, 22%)
CMYKcmyk(87.3%, 67.3%, 0%, 78.4%)
CIE-LABlab(6.81, 11.01, -25.50)
CIE-LCHlch(6.81, 27.78, 293.36°)
OKLaboklab(20.03% -0.0044 -0.0739)
OKLCHoklch(20.03% 0.074 266.6)
XYZxyz(0.9933, 0.7535, 3.7068)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071237 #372C07
analogous
#072A37 #071237 #140737
triadic
#071237 #370712 #123707
tetradic
#071237 #37072A #372C07 #073714
square
#071237 #37072A #372C07 #073714
split-complementary
#071237 #371407 #2A3707
monochromatic
#03091B #03091B #071237 #0E246D #1536A4

Accessibility & contrast

On white

18.25
#071237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071237
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071237#FFFFFF#000000##FFFFFF
##0712371.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #071237;
/* rgb */ color: rgb(7, 18, 55);
/* oklch */ color: oklch(20.0% 0.074 266.6);
Tailwind
colors: {
  custom: {
    50: '#4f4f6e',
    500: '#071237',
    950: '#000000',
  },
}
SCSS
$custom: #071237;
$custom-light: #4f4f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#071237",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 226.25,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20026,
    "c": 0.07403,
    "h": 266.6
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#071237
secondary
#776323
accent
#C834F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #071237

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

Preview Lab → · Contrast checker → · Palette generator →

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