#08183C#08183C

#08183C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.073 H 263.4°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#08183C
RGBrgb(8, 24, 60)
HSLhsl(222, 76%, 13%)
HSVhsv(222, 87%, 24%)
CMYKcmyk(86.7%, 60%, 0%, 76.5%)
CIE-LABlab(9.25, 8.95, -25.14)
CIE-LCHlch(9.25, 26.69, 289.59°)
OKLaboklab(22.08% -0.0083 -0.0724)
OKLCHoklch(22.08% 0.073 263.4)
XYZxyz(1.2421, 1.0310, 4.4076)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08183C #3C2C08
analogous
#08323C #08183C #12083C
triadic
#08183C #3C0818 #183C08
tetradic
#08183C #3C0832 #3C2C08 #083C12
square
#08183C #3C0832 #3C2C08 #083C12
split-complementary
#08183C #3C1208 #323C08
monochromatic
#040B1B #040B1B #08183C #0F2E72 #1643A8

Accessibility & contrast

On white

17.41
#08183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#08183C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08183C
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08183C#FFFFFF#000000##FFFFFF
##08183C1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #08183c;
/* rgb */ color: rgb(8, 24, 60);
/* oklch */ color: oklch(22.1% 0.073 263.4);
Tailwind
colors: {
  custom: {
    50: '#515472',
    500: '#08183c',
    950: '#000000',
  },
}
SCSS
$custom: #08183c;
$custom-light: #515472;
$custom-dark: #000000;
JSON
{
  "hex": "#08183c",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 221.538,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22077,
    "c": 0.07286,
    "h": 263.4
  },
  "luminance": 0.01031
}

Semantic roles & 50–950 ramp

primary
#08183C
secondary
#7B6025
accent
#B835F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #08183C

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

Preview Lab → · Contrast checker → · Palette generator →

#08183C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva