#082146#082146

#082146 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.076 H 258.5°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#082146
RGBrgb(8, 33, 70)
HSLhsl(216, 79%, 15%)
HSVhsv(216, 89%, 27%)
CMYKcmyk(88.6%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.12, 6.51, -25.93)
CIE-LCHlch(13.12, 26.74, 284.09°)
OKLaboklab(25.3% -0.0152 -0.0745)
OKLCHoklch(25.3% 0.076 258.5)
XYZxyz(1.7491, 1.5813, 6.0062)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#082146 #462D08
analogous
#084046 #082146 #0E0846
triadic
#082146 #460821 #214608
tetradic
#082146 #460840 #462D08 #08460E
square
#082146 #460840 #462D08 #08460E
split-complementary
#082146 #460E08 #404608
monochromatic
#030D1B #030D1B #082146 #0E3B7D #1555B4

Accessibility & contrast

On white

15.95
#082146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#082146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #082146
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##082146#FFFFFF#000000##FFFFFF
##0821461.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2547
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #082146;
/* rgb */ color: rgb(8, 33, 70);
/* oklch */ color: oklch(25.3% 0.076 258.5);
Tailwind
colors: {
  custom: {
    50: '#535b7a',
    500: '#082146',
    950: '#000000',
  },
}
SCSS
$custom: #082146;
$custom-light: #535b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#082146",
  "rgb": {
    "r": 8,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 215.806,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25299,
    "c": 0.07603,
    "h": 258.5
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#082146
secondary
#845E26
accent
#A732F6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #082146

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

Preview Lab → · Contrast checker → · Palette generator →

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