#183A8E#183A8E

#183A8E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.145 H 264.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#183A8E
RGBrgb(24, 58, 142)
HSLhsl(223, 71%, 33%)
HSVhsv(223, 83%, 56%)
CMYKcmyk(83.1%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.22, 20.97, -49.92)
CIE-LCHlch(27.22, 54.15, 292.79°)
OKLaboklab(38.02% -0.0152 -0.1443)
OKLCHoklch(38.02% 0.145 264)
XYZxyz(6.7705, 5.1725, 26.2275)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A8E #8E6C18
analogous
#18758E #183A8E #31188E
triadic
#183A8E #8E183A #3A8E18
tetradic
#183A8E #8E1875 #8E6C18 #188E31
square
#183A8E #8E1875 #8E6C18 #188E31
split-complementary
#183A8E #8E3118 #758E18
monochromatic
#060F25 #0F255A #183A8E #214FC2 #416FDF

Accessibility & contrast

On white

10.32
#183A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#183A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A8E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A8E#FFFFFF#000000##FFFFFF
##183A8E1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183a8e;
/* rgb */ color: rgb(24, 58, 142);
/* oklch */ color: oklch(38.0% 0.145 264.0);
Tailwind
colors: {
  custom: {
    50: '#6b6fb0',
    500: '#183a8e',
    950: '#000000',
  },
}
SCSS
$custom: #183a8e;
$custom-light: #6b6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#183a8e",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 222.712,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38021,
    "c": 0.14506,
    "h": 264
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#183A8E
secondary
#C09B42
accent
#BA3AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183A8E

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

Preview Lab → · Contrast checker → · Palette generator →

#183A8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva