#081038#081038

#081038 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.078 H 269.0°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#081038
RGBrgb(8, 16, 56)
HSLhsl(230, 75%, 13%)
HSVhsv(230, 86%, 22%)
CMYKcmyk(85.7%, 71.4%, 0%, 78%)
CIE-LABlab(6.39, 13.01, -26.89)
CIE-LCHlch(6.39, 29.87, 295.81°)
OKLaboklab(19.72% -0.0013 -0.0783)
OKLCHoklch(19.72% 0.078 269)
XYZxyz(0.9990, 0.7076, 3.8245)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081038 #383008
analogous
#082838 #081038 #180838
triadic
#081038 #380810 #103808
tetradic
#081038 #380828 #383008 #083818
square
#081038 #380828 #383008 #083818
split-complementary
#081038 #381808 #283808
monochromatic
#04081B #04081B #081038 #101F6E #172FA3

Accessibility & contrast

On white

18.40
#081038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081038
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081038#FFFFFF#000000##FFFFFF
##0810381.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #081038;
/* rgb */ color: rgb(8, 16, 56);
/* oklch */ color: oklch(19.7% 0.078 269.0);
Tailwind
colors: {
  custom: {
    50: '#504e6f',
    500: '#081038',
    950: '#000000',
  },
}
SCSS
$custom: #081038;
$custom-light: #504e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#081038",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 230,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19724,
    "c": 0.0783,
    "h": 269
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#081038
secondary
#776925
accent
#D236F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #081038

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

Preview Lab → · Contrast checker → · Palette generator →

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