#183E88#183E88

#183E88 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.131 H 261.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#183E88
RGBrgb(24, 62, 136)
HSLhsl(220, 70%, 31%)
HSVhsv(220, 82%, 53%)
CMYKcmyk(82.4%, 54.4%, 0%, 46.7%)
CIE-LABlab(27.89, 15.73, -45.12)
CIE-LCHlch(27.89, 47.79, 289.22°)
OKLaboklab(38.38% -0.0185 -0.1301)
OKLCHoklch(38.38% 0.131 261.9)
XYZxyz(6.5416, 5.4162, 23.9884)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E88 #886218
analogous
#187688 #183E88 #2A1888
triadic
#183E88 #88183E #3E8818
tetradic
#183E88 #881876 #886218 #18882A
square
#183E88 #881876 #886218 #18882A
split-complementary
#183E88 #882A18 #768818
monochromatic
#060F20 #0F2654 #183E88 #2156BC #3E74DD

Accessibility & contrast

On white

10.08
#183E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#183E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E88
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E88#FFFFFF#000000##FFFFFF
##183E881.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478B
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183e88;
/* rgb */ color: rgb(24, 62, 136);
/* oklch */ color: oklch(38.4% 0.131 261.9);
Tailwind
colors: {
  custom: {
    50: '#6972ab',
    500: '#183e88',
    950: '#000000',
  },
}
SCSS
$custom: #183e88;
$custom-light: #6972ab;
$custom-dark: #000000;
JSON
{
  "hex": "#183e88",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 219.643,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.13139,
    "h": 261.9
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#183E88
secondary
#BC9240
accent
#B03BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183E88

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

Preview Lab → · Contrast checker → · Palette generator →

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