#08083A#08083A

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

Color values

HEX#08083A
RGBrgb(8, 8, 58)
HSLhsl(240, 76%, 13%)
HSVhsv(240, 86%, 23%)
CMYKcmyk(86.2%, 86.2%, 0%, 77.3%)
CIE-LABlab(4.79, 18.09, -30.94)
CIE-LCHlch(4.79, 35.84, 300.32°)
OKLaboklab(18.32% 0.0041 -0.0923)
OKLCHoklch(18.32% 0.092 272.5)
XYZxyz(0.9504, 0.5307, 4.0545)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08083A #3A3A08
analogous
#08213A #08083A #21083A
triadic
#08083A #3A0808 #083A08
tetradic
#08083A #3A0821 #3A3A08 #083A21
square
#08083A #3A0821 #3A3A08 #083A21
split-complementary
#08083A #3A2108 #213A08
monochromatic
#04041B #04041B #08083A #0F0F70 #1717A6

Accessibility & contrast

On white

18.98
#08083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#08083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##08083A#FFFFFF#000000##FFFFFF
##08083A1.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)
#00133B
Deuteranopia (green-blind)
#000E39
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #08083a;
/* rgb */ color: rgb(8, 8, 58);
/* oklch */ color: oklch(18.3% 0.092 272.5);
Tailwind
colors: {
  custom: {
    50: '#504971',
    500: '#08083a',
    950: '#000000',
  },
}
SCSS
$custom: #08083a;
$custom-light: #504971;
$custom-dark: #000000;
JSON
{
  "hex": "#08083a",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 240,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18316,
    "c": 0.09242,
    "h": 272.5
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#08083A
secondary
#797925
accent
#F235F2
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020107
muted
#78777A

Preview Lab

Preview with #08083A

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

Preview Lab → · Contrast checker → · Palette generator →

#08083A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva