#080231#080231

#080231 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.7% C 0.089 H 277.4°. Best body text is #FFFFFF at 19.75:1 contrast (WCAG AA passes).

Color values

HEX#080231
RGBrgb(8, 2, 49)
HSLhsl(248, 92%, 10%)
HSVhsv(248, 96%, 19%)
CMYKcmyk(83.7%, 95.9%, 0%, 80.8%)
CIE-LABlab(2.86, 15.36, -27.42)
CIE-LCHlch(2.86, 31.43, 299.26°)
OKLaboklab(15.73% 0.0114 -0.0883)
OKLCHoklch(15.73% 0.089 277.4)
XYZxyz(0.6760, 0.3167, 2.9306)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080231 #2B3102
analogous
#021331 #080231 #200231
triadic
#080231 #310802 #023108
tetradic
#080231 #310213 #2B3102 #023120
square
#080231 #310213 #2B3102 #023120
split-complementary
#080231 #312002 #133102
monochromatic
#05011D #05011D #080231 #12046C #1B07A7

Accessibility & contrast

On white

19.75
#080231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#080231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080231
19.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080231#FFFFFF#000000##FFFFFF
##0802311.0019.751.0619.75
#FFFFFF19.751.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000830
Tritanopia (blue-blind)
#000F19
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #080231;
/* rgb */ color: rgb(8, 2, 49);
/* oklch */ color: oklch(15.7% 0.089 277.4);
Tailwind
colors: {
  custom: {
    50: '#4d4769',
    500: '#080231',
    950: '#000000',
  },
}
SCSS
$custom: #080231;
$custom-light: #4d4769;
$custom-dark: #000000;
JSON
{
  "hex": "#080231",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 247.66,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.15725,
    "c": 0.08901,
    "h": 277.4
  },
  "luminance": 0.00317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #080231

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

Preview Lab → · Contrast checker → · Palette generator →

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