#080232#080232

#080232 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.9% C 0.090 H 277.0°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#080232
RGBrgb(8, 2, 50)
HSLhsl(248, 92%, 10%)
HSVhsv(248, 96%, 20%)
CMYKcmyk(84%, 96%, 0%, 80.4%)
CIE-LABlab(2.94, 15.90, -28.04)
CIE-LCHlch(2.94, 32.24, 299.56°)
OKLaboklab(15.87% 0.011 -0.0897)
OKLCHoklch(15.87% 0.09 277)
XYZxyz(0.6974, 0.3253, 3.0430)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080232 #2C3202
analogous
#021432 #080232 #200232
triadic
#080232 #320802 #023208
tetradic
#080232 #320214 #2C3202 #023220
square
#080232 #320214 #2C3202 #023220
split-complementary
#080232 #322002 #143202
monochromatic
#05011D #05011D #080232 #11046D #1B07A8

Accessibility & contrast

On white

19.72
#080232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#080232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080232
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080232#FFFFFF#000000##FFFFFF
##0802321.0019.721.0719.72
#FFFFFF19.721.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D33
Deuteranopia (green-blind)
#000931
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #080232;
/* rgb */ color: rgb(8, 2, 50);
/* oklch */ color: oklch(15.9% 0.090 277.0);
Tailwind
colors: {
  custom: {
    50: '#4d476a',
    500: '#080232',
    950: '#000000',
  },
}
SCSS
$custom: #080232;
$custom-light: #4d476a;
$custom-dark: #000000;
JSON
{
  "hex": "#080232",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 247.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.15871,
    "c": 0.09038,
    "h": 277
  },
  "luminance": 0.00325
}

Semantic roles & 50–950 ramp

primary
#080232
secondary
#6B7619
accent
#FF29E4
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #080232

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

Preview Lab → · Contrast checker → · Palette generator →

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