#183E95#183E95

#183E95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.150 H 263.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#183E95
RGBrgb(24, 62, 149)
HSLhsl(222, 72%, 34%)
HSVhsv(222, 84%, 58%)
CMYKcmyk(83.9%, 58.4%, 0%, 41.6%)
CIE-LABlab(28.92, 21.03, -51.45)
CIE-LCHlch(28.92, 55.58, 292.23°)
OKLaboklab(39.48% -0.0174 -0.1487)
OKLCHoklch(39.48% 0.15 263.3)
XYZxyz(7.5222, 5.8085, 29.1526)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E95 #956F18
analogous
#187D95 #183E95 #311895
triadic
#183E95 #95183E #3E9518
tetradic
#183E95 #95187D #956F18 #189531
square
#183E95 #95187D #956F18 #189531
split-complementary
#183E95 #953118 #7D9518
monochromatic
#07122C #102860 #183E95 #2054CA #4675E1

Accessibility & contrast

On white

9.71
#183E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#183E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E95
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E95#FFFFFF#000000##FFFFFF
##183E951.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #183e95;
/* rgb */ color: rgb(24, 62, 149);
/* oklch */ color: oklch(39.5% 0.150 263.3);
Tailwind
colors: {
  custom: {
    50: '#6c72b5',
    500: '#183e95',
    950: '#000000',
  },
}
SCSS
$custom: #183e95;
$custom-light: #6c72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#183e95",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 221.76,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39483,
    "c": 0.14969,
    "h": 263.3
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#183E95
secondary
#C29D46
accent
#B839EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #183E95

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

Preview Lab → · Contrast checker → · Palette generator →

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