#071232#071232

#071232 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.066 H 265.8°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#071232
RGBrgb(7, 18, 50)
HSLhsl(225, 75%, 11%)
HSVhsv(225, 86%, 20%)
CMYKcmyk(86%, 64%, 0%, 80.4%)
CIE-LABlab(6.40, 8.44, -22.51)
CIE-LCHlch(6.40, 24.04, 290.56°)
OKLaboklab(19.53% -0.0048 -0.0654)
OKLCHoklch(19.53% 0.066 265.8)
XYZxyz(0.8795, 0.7080, 3.1073)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071232 #322707
analogous
#072732 #071232 #110732
triadic
#071232 #320712 #123207
tetradic
#071232 #320727 #322707 #073211
square
#071232 #320727 #322707 #073211
split-complementary
#071232 #321107 #273207
monochromatic
#040A1B #040A1B #071232 #0F2568 #16399D

Accessibility & contrast

On white

18.40
#071232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#071232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071232
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071232#FFFFFF#000000##FFFFFF
##0712321.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011633
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #071232;
/* rgb */ color: rgb(7, 18, 50);
/* oklch */ color: oklch(19.5% 0.066 265.8);
Tailwind
colors: {
  custom: {
    50: '#4d4f6a',
    500: '#071232',
    950: '#000000',
  },
}
SCSS
$custom: #071232;
$custom-light: #4d4f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#071232",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 224.651,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19527,
    "c": 0.06556,
    "h": 265.8
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#071232
secondary
#725E23
accent
#C236F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #071232

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

Preview Lab → · Contrast checker → · Palette generator →

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