#183E8A#183E8A

#183E8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.134 H 262.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#183E8A
RGBrgb(24, 62, 138)
HSLhsl(220, 70%, 32%)
HSVhsv(220, 83%, 54%)
CMYKcmyk(82.6%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.04, 16.55, -46.11)
CIE-LCHlch(28.04, 48.99, 289.74°)
OKLaboklab(38.54% -0.0183 -0.133)
OKLCHoklch(38.54% 0.134 262.2)
XYZxyz(6.6851, 5.4736, 24.7440)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E8A #8A6418
analogous
#18778A #183E8A #2B188A
triadic
#183E8A #8A183E #3E8A18
tetradic
#183E8A #8A1877 #8A6418 #188A2B
square
#183E8A #8A1877 #8A6418 #188A2B
split-complementary
#183E8A #8A2B18 #778A18
monochromatic
#060F22 #0F2756 #183E8A #2155BE #3F74DE

Accessibility & contrast

On white

10.02
#183E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#183E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E8A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E8A#FFFFFF#000000##FFFFFF
##183E8A1.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183e8a;
/* rgb */ color: rgb(24, 62, 138);
/* oklch */ color: oklch(38.5% 0.134 262.2);
Tailwind
colors: {
  custom: {
    50: '#6972ad',
    500: '#183e8a',
    950: '#000000',
  },
}
SCSS
$custom: #183e8a;
$custom-light: #6972ad;
$custom-dark: #000000;
JSON
{
  "hex": "#183e8a",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 220,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38541,
    "c": 0.13424,
    "h": 262.2
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#183E8A
secondary
#BD9440
accent
#B23BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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