#183B8D#183B8D

#183B8D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.142 H 263.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#183B8D
RGBrgb(24, 59, 141)
HSLhsl(222, 71%, 32%)
HSVhsv(222, 83%, 55%)
CMYKcmyk(83%, 58.2%, 0%, 44.7%)
CIE-LABlab(27.42, 19.87, -48.98)
CIE-LCHlch(27.42, 52.86, 292.08°)
OKLaboklab(38.15% -0.0159 -0.1415)
OKLCHoklch(38.15% 0.142 263.6)
XYZxyz(6.7467, 5.2444, 25.8508)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B8D #8D6A18
analogous
#18768D #183B8D #2F188D
triadic
#183B8D #8D183B #3B8D18
tetradic
#183B8D #8D1876 #8D6A18 #188D2F
square
#183B8D #8D1876 #8D6A18 #188D2F
split-complementary
#183B8D #8D2F18 #768D18
monochromatic
#060F24 #0F2559 #183B8D #2151C1 #4170DF

Accessibility & contrast

On white

10.25
#183B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#183B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B8D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B8D#FFFFFF#000000##FFFFFF
##183B8D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183b8d;
/* rgb */ color: rgb(24, 59, 141);
/* oklch */ color: oklch(38.1% 0.142 263.6);
Tailwind
colors: {
  custom: {
    50: '#6a70af',
    500: '#183b8d',
    950: '#000000',
  },
}
SCSS
$custom: #183b8d;
$custom-light: #6a70af;
$custom-dark: #000000;
JSON
{
  "hex": "#183b8d",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 222.051,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38145,
    "c": 0.14237,
    "h": 263.6
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#183B8D
secondary
#BF9A42
accent
#B83AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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