#071236#071236

#071236 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.072 H 266.5°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#071236
RGBrgb(7, 18, 54)
HSLhsl(226, 77%, 12%)
HSVhsv(226, 87%, 21%)
CMYKcmyk(87%, 66.7%, 0%, 78.8%)
CIE-LABlab(6.72, 10.50, -24.91)
CIE-LCHlch(6.72, 27.03, 292.86°)
OKLaboklab(19.92% -0.0044 -0.0722)
OKLCHoklch(19.92% 0.072 266.5)
XYZxyz(0.9695, 0.7440, 3.5818)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071236 #362B07
analogous
#072A36 #071236 #140736
triadic
#071236 #360712 #123607
tetradic
#071236 #36072A #362B07 #073614
square
#071236 #36072A #362B07 #073614
split-complementary
#071236 #361407 #2A3607
monochromatic
#04091B #04091B #071236 #0E246C #1536A2

Accessibility & contrast

On white

18.28
#071236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071236
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071236#FFFFFF#000000##FFFFFF
##0712361.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #071236;
/* rgb */ color: rgb(7, 18, 54);
/* oklch */ color: oklch(19.9% 0.072 266.5);
Tailwind
colors: {
  custom: {
    50: '#4f4f6d',
    500: '#071236',
    950: '#000000',
  },
}
SCSS
$custom: #071236;
$custom-light: #4f4f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#071236",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 225.957,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19924,
    "c": 0.07236,
    "h": 266.5
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#071236
secondary
#766223
accent
#C734F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #071236

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

Preview Lab → · Contrast checker → · Palette generator →

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