#183E8B#183E8B

#183E8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.136 H 262.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#183E8B
RGBrgb(24, 62, 139)
HSLhsl(220, 71%, 32%)
HSVhsv(220, 83%, 55%)
CMYKcmyk(82.7%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.12, 16.96, -46.60)
CIE-LCHlch(28.12, 49.59, 290.00°)
OKLaboklab(38.63% -0.0182 -0.1344)
OKLCHoklch(38.63% 0.136 262.3)
XYZxyz(6.7578, 5.5027, 25.1271)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E8B #8B6518
analogous
#18788B #183E8B #2C188B
triadic
#183E8B #8B183E #3E8B18
tetradic
#183E8B #8B1878 #8B6518 #188B2C
square
#183E8B #8B1878 #8B6518 #188B2C
split-complementary
#183E8B #8B2C18 #788B18
monochromatic
#060F23 #0F2757 #183E8B #2155BF #3F74DE

Accessibility & contrast

On white

10.00
#183E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#183E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E8B
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E8B#FFFFFF#000000##FFFFFF
##183E8B1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183e8b;
/* rgb */ color: rgb(24, 62, 139);
/* oklch */ color: oklch(38.6% 0.136 262.3);
Tailwind
colors: {
  custom: {
    50: '#6a72ad',
    500: '#183e8b',
    950: '#000000',
  },
}
SCSS
$custom: #183e8b;
$custom-light: #6a72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#183e8b",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 220.174,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38625,
    "c": 0.13566,
    "h": 262.3
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#183E8B
secondary
#BE9540
accent
#B23AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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