#183E8C#183E8C

#183E8C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.137 H 262.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#183E8C
RGBrgb(24, 62, 140)
HSLhsl(220, 71%, 32%)
HSVhsv(220, 83%, 55%)
CMYKcmyk(82.9%, 55.7%, 0%, 45.1%)
CIE-LABlab(28.20, 17.37, -47.09)
CIE-LCHlch(28.20, 50.19, 290.24°)
OKLaboklab(38.71% -0.0181 -0.1359)
OKLCHoklch(38.71% 0.137 262.4)
XYZxyz(6.8312, 5.5321, 25.5136)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E8C #8C6618
analogous
#18788C #183E8C #2C188C
triadic
#183E8C #8C183E #3E8C18
tetradic
#183E8C #8C1878 #8C6618 #188C2C
square
#183E8C #8C1878 #8C6618 #188C2C
split-complementary
#183E8C #8C2C18 #788C18
monochromatic
#061024 #0F2758 #183E8C #2155C0 #4074DE

Accessibility & contrast

On white

9.97
#183E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#183E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E8C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E8C#FFFFFF#000000##FFFFFF
##183E8C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183e8c;
/* rgb */ color: rgb(24, 62, 140);
/* oklch */ color: oklch(38.7% 0.137 262.4);
Tailwind
colors: {
  custom: {
    50: '#6a72ae',
    500: '#183e8c',
    950: '#000000',
  },
}
SCSS
$custom: #183e8c;
$custom-light: #6a72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#183e8c",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 140
  },
  "hsl": {
    "h": 220.345,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38709,
    "c": 0.13708,
    "h": 262.4
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#183E8C
secondary
#BF9641
accent
#B33AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #183E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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