#182D8F#182D8F

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

Color values

HEX#182D8F
RGBrgb(24, 45, 143)
HSLhsl(229, 71%, 33%)
HSVhsv(229, 83%, 56%)
CMYKcmyk(83.2%, 68.5%, 0%, 43.9%)
CIE-LABlab(23.85, 30.29, -56.06)
CIE-LCHlch(23.85, 63.72, 298.38°)
OKLaboklab(35.55% -0.0077 -0.1624)
OKLCHoklch(35.55% 0.163 267.3)
XYZxyz(6.2713, 4.0534, 26.4331)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D8F #8F7A18
analogous
#18688F #182D8F #3F188F
triadic
#182D8F #8F182D #2D8F18
tetradic
#182D8F #8F1868 #8F7A18 #188F3F
square
#182D8F #8F1868 #8F7A18 #188F3F
split-complementary
#182D8F #8F3F18 #688F18
monochromatic
#060C26 #0F1D5B #182D8F #213DC3 #425EDF

Accessibility & contrast

On white

11.60
#182D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D8F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D8F#FFFFFF#000000##FFFFFF
##182D8F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #182d8f;
/* rgb */ color: rgb(24, 45, 143);
/* oklch */ color: oklch(35.5% 0.163 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c66b1',
    500: '#182d8f',
    950: '#000000',
  },
}
SCSS
$custom: #182d8f;
$custom-light: #6c66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#182d8f",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 229.412,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35549,
    "c": 0.16258,
    "h": 267.3
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#182D8F
secondary
#C0AA43
accent
#CE3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #182D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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