#071233#071233

#071233 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.067 H 266.0°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#071233
RGBrgb(7, 18, 51)
HSLhsl(225, 76%, 11%)
HSVhsv(225, 86%, 20%)
CMYKcmyk(86.3%, 64.7%, 0%, 80%)
CIE-LABlab(6.47, 8.96, -23.11)
CIE-LCHlch(6.47, 24.79, 291.19°)
OKLaboklab(19.62% -0.0047 -0.0671)
OKLCHoklch(19.62% 0.067 266)
XYZxyz(0.9013, 0.7167, 3.2222)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071233 #332807
analogous
#072833 #071233 #120733
triadic
#071233 #330712 #123307
tetradic
#071233 #330728 #332807 #073312
square
#071233 #330728 #332807 #073312
split-complementary
#071233 #331207 #283307
monochromatic
#04091B #04091B #071233 #0E2569 #16389F

Accessibility & contrast

On white

18.37
#071233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071233
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071233#FFFFFF#000000##FFFFFF
##0712331.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #071233;
/* rgb */ color: rgb(7, 18, 51);
/* oklch */ color: oklch(19.6% 0.067 266.0);
Tailwind
colors: {
  custom: {
    50: '#4e4f6b',
    500: '#071233',
    950: '#000000',
  },
}
SCSS
$custom: #071233;
$custom-light: #4e4f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#071233",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 225,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19624,
    "c": 0.06728,
    "h": 266
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

primary
#071233
secondary
#735F23
accent
#C335F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #071233

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

Preview Lab → · Contrast checker → · Palette generator →

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