#080938#080938

#080938 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.088 H 272.5°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#080938
RGBrgb(8, 9, 56)
HSLhsl(239, 75%, 13%)
HSVhsv(239, 86%, 22%)
CMYKcmyk(85.7%, 83.9%, 0%, 78%)
CIE-LABlab(4.81, 16.53, -29.45)
CIE-LCHlch(4.81, 33.78, 299.30°)
OKLaboklab(18.26% 0.0039 -0.088)
OKLCHoklch(18.26% 0.088 272.5)
XYZxyz(0.9114, 0.5324, 3.7953)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080938 #383708
analogous
#082138 #080938 #1F0838
triadic
#080938 #380809 #093808
tetradic
#080938 #380821 #383708 #08381F
square
#080938 #380821 #383708 #08381F
split-complementary
#080938 #381F08 #213808
monochromatic
#04041B #04041B #080938 #10126E #171AA3

Accessibility & contrast

On white

18.98
#080938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#080938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080938
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080938#FFFFFF#000000##FFFFFF
##0809381.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #080938;
/* rgb */ color: rgb(8, 9, 56);
/* oklch */ color: oklch(18.3% 0.088 272.5);
Tailwind
colors: {
  custom: {
    50: '#504a6f',
    500: '#080938',
    950: '#000000',
  },
}
SCSS
$custom: #080938;
$custom-light: #504a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#080938",
  "rgb": {
    "r": 8,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 238.75,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18257,
    "c": 0.08807,
    "h": 272.5
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#080938
secondary
#777525
accent
#EE36F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #080938

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

Preview Lab → · Contrast checker → · Palette generator →

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