#183B8B#183B8B

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

Color values

HEX#183B8B
RGBrgb(24, 59, 139)
HSLhsl(222, 71%, 32%)
HSVhsv(222, 83%, 55%)
CMYKcmyk(82.7%, 57.6%, 0%, 45.5%)
CIE-LABlab(27.26, 19.05, -48.01)
CIE-LCHlch(27.26, 51.65, 291.65°)
OKLaboklab(37.97% -0.0161 -0.1386)
OKLCHoklch(37.97% 0.14 263.4)
XYZxyz(6.5992, 5.1854, 25.0742)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B8B #8B6818
analogous
#18758B #183B8B #2F188B
triadic
#183B8B #8B183B #3B8B18
tetradic
#183B8B #8B1875 #8B6818 #188B2F
square
#183B8B #8B1875 #8B6818 #188B2F
split-complementary
#183B8B #8B2F18 #758B18
monochromatic
#060F23 #0F2557 #183B8B #2151BF #3F70DE

Accessibility & contrast

On white

10.31
#183B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#183B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B8B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B8B#FFFFFF#000000##FFFFFF
##183B8B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183b8b;
/* rgb */ color: rgb(24, 59, 139);
/* oklch */ color: oklch(38.0% 0.140 263.4);
Tailwind
colors: {
  custom: {
    50: '#6a70ae',
    500: '#183b8b',
    950: '#000000',
  },
}
SCSS
$custom: #183b8b;
$custom-light: #6a70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#183b8b",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 139
  },
  "hsl": {
    "h": 221.739,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37971,
    "c": 0.13955,
    "h": 263.4
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#183B8B
secondary
#BE9840
accent
#B73AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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