#183E8E#183E8E

#183E8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.140 H 262.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#183E8E
RGBrgb(24, 62, 142)
HSLhsl(221, 71%, 33%)
HSVhsv(221, 83%, 56%)
CMYKcmyk(83.1%, 56.3%, 0%, 44.3%)
CIE-LABlab(28.36, 18.19, -48.07)
CIE-LCHlch(28.36, 51.40, 290.72°)
OKLaboklab(38.88% -0.0179 -0.1388)
OKLCHoklch(38.88% 0.14 262.6)
XYZxyz(6.9800, 5.5916, 26.2973)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E8E #8E6818
analogous
#18798E #183E8E #2D188E
triadic
#183E8E #8E183E #3E8E18
tetradic
#183E8E #8E1879 #8E6818 #188E2D
square
#183E8E #8E1879 #8E6818 #188E2D
split-complementary
#183E8E #8E2D18 #798E18
monochromatic
#061025 #0F275A #183E8E #2155C2 #4174DF

Accessibility & contrast

On white

9.91
#183E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#183E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E8E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E8E#FFFFFF#000000##FFFFFF
##183E8E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183e8e;
/* rgb */ color: rgb(24, 62, 142);
/* oklch */ color: oklch(38.9% 0.140 262.6);
Tailwind
colors: {
  custom: {
    50: '#6a72b0',
    500: '#183e8e',
    950: '#000000',
  },
}
SCSS
$custom: #183e8e;
$custom-light: #6a72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#183e8e",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 220.678,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.1399,
    "h": 262.6
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#183E8E
secondary
#C09742
accent
#B43AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #183E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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