#081234#081234

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

Color values

HEX#081234
RGBrgb(8, 18, 52)
HSLhsl(226, 73%, 12%)
HSVhsv(226, 85%, 20%)
CMYKcmyk(84.6%, 65.4%, 0%, 79.6%)
CIE-LABlab(6.61, 9.71, -23.62)
CIE-LCHlch(6.61, 25.54, 292.34°)
OKLaboklab(19.79% -0.0033 -0.0685)
OKLCHoklch(19.79% 0.069 267.2)
XYZxyz(0.9361, 0.7321, 3.3401)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081234 #342A08
analogous
#082834 #081234 #140834
triadic
#081234 #340812 #123408
tetradic
#081234 #340828 #342A08 #083414
square
#081234 #340828 #342A08 #083414
split-complementary
#081234 #341408 #283408
monochromatic
#04091B #04091B #081234 #102469 #18379E

Accessibility & contrast

On white

18.32
#081234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081234
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081234#FFFFFF#000000##FFFFFF
##0812341.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #081234;
/* rgb */ color: rgb(8, 18, 52);
/* oklch */ color: oklch(19.8% 0.069 267.2);
Tailwind
colors: {
  custom: {
    50: '#4e4f6c',
    500: '#081234',
    950: '#000000',
  },
}
SCSS
$custom: #081234;
$custom-light: #4e4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#081234",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 226.364,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19791,
    "c": 0.06856,
    "h": 267.2
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#081234
secondary
#736125
accent
#C638F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081234

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

Preview Lab → · Contrast checker → · Palette generator →

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