#081247#081247

#081247 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.099 H 268.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#081247
RGBrgb(8, 18, 71)
HSLhsl(230, 80%, 15%)
HSVhsv(230, 89%, 28%)
CMYKcmyk(88.7%, 74.6%, 0%, 72.2%)
CIE-LABlab(8.47, 18.62, -34.19)
CIE-LCHlch(8.47, 38.93, 298.57°)
OKLaboklab(21.84% -0.0035 -0.099)
OKLCHoklch(21.84% 0.099 268)
XYZxyz(1.4534, 0.9390, 6.0647)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081247 #473D08
analogous
#083147 #081247 #1D0847
triadic
#081247 #470812 #124708
tetradic
#081247 #470831 #473D08 #08471D
square
#081247 #470831 #473D08 #08471D
split-complementary
#081247 #471D08 #314708
monochromatic
#03071C #03071C #081247 #0E207E #142EB5

Accessibility & contrast

On white

17.68
#081247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#081247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081247
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081247#FFFFFF#000000##FFFFFF
##0812471.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081247;
/* rgb */ color: rgb(8, 18, 71);
/* oklch */ color: oklch(21.8% 0.099 268.0);
Tailwind
colors: {
  custom: {
    50: '#554f7b',
    500: '#081247',
    950: '#000000',
  },
}
SCSS
$custom: #081247;
$custom-light: #554f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#081247",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 230.476,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21837,
    "c": 0.09906,
    "h": 268
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#081247
secondary
#857626
accent
#D732F6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #081247

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

Preview Lab → · Contrast checker → · Palette generator →

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