#081230#081230

#081230 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.062 H 266.6°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#081230
RGBrgb(8, 18, 48)
HSLhsl(225, 71%, 11%)
HSVhsv(225, 83%, 19%)
CMYKcmyk(83.3%, 62.5%, 0%, 81.2%)
CIE-LABlab(6.30, 7.65, -21.18)
CIE-LCHlch(6.30, 22.52, 289.86°)
OKLaboklab(19.41% -0.0037 -0.0615)
OKLCHoklch(19.41% 0.062 266.6)
XYZxyz(0.8498, 0.6976, 2.8856)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081230 #302608
analogous
#082630 #081230 #120830
triadic
#081230 #300812 #123008
tetradic
#081230 #300826 #302608 #083012
square
#081230 #300826 #302608 #083012
split-complementary
#081230 #301208 #263008
monochromatic
#040A1A #040A1A #081230 #112664 #193999

Accessibility & contrast

On white

18.43
#081230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#081230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081230
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081230#FFFFFF#000000##FFFFFF
##0812301.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021631
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #081230;
/* rgb */ color: rgb(8, 18, 48);
/* oklch */ color: oklch(19.4% 0.062 266.6);
Tailwind
colors: {
  custom: {
    50: '#4d4f68',
    500: '#081230',
    950: '#000000',
  },
}
SCSS
$custom: #081230;
$custom-light: #4d4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#081230",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 225,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19405,
    "c": 0.06165,
    "h": 266.6
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#081230
secondary
#6F5C25
accent
#C13AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #081230

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

Preview Lab → · Contrast checker → · Palette generator →

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