#081235#081235

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

Color values

HEX#081235
RGBrgb(8, 18, 53)
HSLhsl(227, 74%, 12%)
HSVhsv(227, 85%, 21%)
CMYKcmyk(84.9%, 66%, 0%, 79.2%)
CIE-LABlab(6.70, 10.21, -24.22)
CIE-LCHlch(6.70, 26.28, 292.86°)
OKLaboklab(19.89% -0.0032 -0.0702)
OKLCHoklch(19.89% 0.07 267.4)
XYZxyz(0.9588, 0.7412, 3.4600)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081235 #352B08
analogous
#082935 #081235 #150835
triadic
#081235 #350812 #123508
tetradic
#081235 #350829 #352B08 #083515
square
#081235 #350829 #352B08 #083515
split-complementary
#081235 #351508 #293508
monochromatic
#04091B #04091B #081235 #10246A #18369F

Accessibility & contrast

On white

18.29
#081235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081235
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081235#FFFFFF#000000##FFFFFF
##0812351.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.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: #081235;
/* rgb */ color: rgb(8, 18, 53);
/* oklch */ color: oklch(19.9% 0.070 267.4);
Tailwind
colors: {
  custom: {
    50: '#4f4f6c',
    500: '#081235',
    950: '#000000',
  },
}
SCSS
$custom: #081235;
$custom-light: #4f4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#081235",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 226.667,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.1989,
    "c": 0.07025,
    "h": 267.4
  },
  "luminance": 0.00741
}

Semantic roles & 50–950 ramp

primary
#081235
secondary
#746225
accent
#C737F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081235

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

Preview Lab → · Contrast checker → · Palette generator →

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