#182E8D#182E8D

#182E8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.159 H 267.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#182E8D
RGBrgb(24, 46, 141)
HSLhsl(229, 71%, 32%)
HSVhsv(229, 83%, 55%)
CMYKcmyk(83%, 67.4%, 0%, 44.7%)
CIE-LABlab(23.90, 28.84, -54.73)
CIE-LCHlch(23.90, 61.86, 297.79°)
OKLaboklab(35.53% -0.0081 -0.1585)
OKLCHoklch(35.53% 0.159 267.1)
XYZxyz(6.1597, 4.0705, 25.6552)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E8D #8D7718
analogous
#18698D #182E8D #3D188D
triadic
#182E8D #8D182E #2E8D18
tetradic
#182E8D #8D1869 #8D7718 #188D3D
square
#182E8D #8D1869 #8D7718 #188D3D
split-complementary
#182E8D #8D3D18 #698D18
monochromatic
#060C24 #0F1D59 #182E8D #213FC1 #415EDF

Accessibility & contrast

On white

11.58
#182E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#182E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E8D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E8D#FFFFFF#000000##FFFFFF
##182E8D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #182e8d;
/* rgb */ color: rgb(24, 46, 141);
/* oklch */ color: oklch(35.5% 0.159 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b66af',
    500: '#182e8d',
    950: '#000000',
  },
}
SCSS
$custom: #182e8d;
$custom-light: #6b66af;
$custom-dark: #000000;
JSON
{
  "hex": "#182e8d",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 228.718,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3553,
    "c": 0.15871,
    "h": 267.1
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#182E8D
secondary
#BFA842
accent
#CC3AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #182E8D

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

Preview Lab → · Contrast checker → · Palette generator →

#182E8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva