#082247#082247

#082247 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.6% C 0.076 H 257.9°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#082247
RGBrgb(8, 34, 71)
HSLhsl(215, 80%, 15%)
HSVhsv(215, 89%, 28%)
CMYKcmyk(88.7%, 52.1%, 0%, 72.2%)
CIE-LABlab(13.53, 6.20, -25.95)
CIE-LCHlch(13.53, 26.68, 283.43°)
OKLaboklab(25.65% -0.0159 -0.0745)
OKLCHoklch(25.65% 0.076 257.9)
XYZxyz(1.8091, 1.6504, 6.1832)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082247 #472D08
analogous
#084147 #082247 #0D0847
triadic
#082247 #470822 #224708
tetradic
#082247 #470841 #472D08 #08470D
square
#082247 #470841 #472D08 #08470D
split-complementary
#082247 #470D08 #414708
monochromatic
#030D1C #030D1C #082247 #0E3C7E #1457B5

Accessibility & contrast

On white

15.79
#082247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#082247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #082247
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082247#FFFFFF#000000##FFFFFF
##0822471.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2648
Deuteranopia (green-blind)
#012046
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #082247;
/* rgb */ color: rgb(8, 34, 71);
/* oklch */ color: oklch(25.6% 0.076 257.9);
Tailwind
colors: {
  custom: {
    50: '#535c7a',
    500: '#082247',
    950: '#000000',
  },
}
SCSS
$custom: #082247;
$custom-light: #535c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#082247",
  "rgb": {
    "r": 8,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 215.238,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25646,
    "c": 0.07623,
    "h": 257.9
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#082247
secondary
#855E26
accent
#A532F6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #082247

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

Preview Lab → · Contrast checker → · Palette generator →

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