#183B8E#183B8E

#183B8E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.144 H 263.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#183B8E
RGBrgb(24, 59, 142)
HSLhsl(222, 71%, 33%)
HSVhsv(222, 83%, 56%)
CMYKcmyk(83.1%, 58.5%, 0%, 44.3%)
CIE-LABlab(27.50, 20.28, -49.46)
CIE-LCHlch(27.50, 53.46, 292.29°)
OKLaboklab(38.23% -0.0158 -0.1429)
OKLCHoklch(38.23% 0.144 263.7)
XYZxyz(6.8214, 5.2743, 26.2445)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B8E #8E6B18
analogous
#18768E #183B8E #30188E
triadic
#183B8E #8E183B #3B8E18
tetradic
#183B8E #8E1876 #8E6B18 #188E30
square
#183B8E #8E1876 #8E6B18 #188E30
split-complementary
#183B8E #8E3018 #768E18
monochromatic
#060F25 #0F255A #183B8E #2151C2 #4170DF

Accessibility & contrast

On white

10.22
#183B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#183B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B8E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B8E#FFFFFF#000000##FFFFFF
##183B8E1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183b8e;
/* rgb */ color: rgb(24, 59, 142);
/* oklch */ color: oklch(38.2% 0.144 263.7);
Tailwind
colors: {
  custom: {
    50: '#6b70b0',
    500: '#183b8e',
    950: '#000000',
  },
}
SCSS
$custom: #183b8e;
$custom-light: #6b70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#183b8e",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 222.203,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38233,
    "c": 0.14378,
    "h": 263.7
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #183B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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