#071235#071235

#071235 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.071 H 266.3°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#071235
RGBrgb(7, 18, 53)
HSLhsl(226, 77%, 12%)
HSVhsv(226, 87%, 21%)
CMYKcmyk(86.8%, 66%, 0%, 79.2%)
CIE-LABlab(6.64, 9.99, -24.32)
CIE-LCHlch(6.64, 26.29, 292.34°)
OKLaboklab(19.82% -0.0045 -0.0705)
OKLCHoklch(19.82% 0.071 266.3)
XYZxyz(0.9463, 0.7347, 3.4594)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071235 #352A07
analogous
#072935 #071235 #130735
triadic
#071235 #350712 #123507
tetradic
#071235 #350729 #352A07 #073513
square
#071235 #350729 #352A07 #073513
split-complementary
#071235 #351307 #293507
monochromatic
#04091B #04091B #071235 #0E246B #1537A1

Accessibility & contrast

On white

18.31
#071235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071235
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071235#FFFFFF#000000##FFFFFF
##0712351.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #071235;
/* rgb */ color: rgb(7, 18, 53);
/* oklch */ color: oklch(19.8% 0.071 266.3);
Tailwind
colors: {
  custom: {
    50: '#4e4f6c',
    500: '#071235',
    950: '#000000',
  },
}
SCSS
$custom: #071235;
$custom-light: #4e4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#071235",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 225.652,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19823,
    "c": 0.07067,
    "h": 266.3
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#071235
secondary
#756123
accent
#C635F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071235

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

Preview Lab → · Contrast checker → · Palette generator →

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