#183D94#183D94

#183D94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.150 H 263.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#183D94
RGBrgb(24, 61, 148)
HSLhsl(222, 72%, 34%)
HSVhsv(222, 84%, 58%)
CMYKcmyk(83.8%, 58.8%, 0%, 42%)
CIE-LABlab(28.56, 21.32, -51.43)
CIE-LCHlch(28.56, 55.67, 292.52°)
OKLaboklab(39.18% -0.0168 -0.1486)
OKLCHoklch(39.18% 0.15 263.6)
XYZxyz(7.3888, 5.6689, 28.7160)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D94 #946F18
analogous
#187B94 #183D94 #311894
triadic
#183D94 #94183D #3D9418
tetradic
#183D94 #94187B #946F18 #189431
square
#183D94 #94187B #946F18 #189431
split-complementary
#183D94 #943118 #7B9418
monochromatic
#07122B #0F275F #183D94 #2153C9 #4574E1

Accessibility & contrast

On white

9.84
#183D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#183D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D94
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D94#FFFFFF#000000##FFFFFF
##183D941.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183d94;
/* rgb */ color: rgb(24, 61, 148);
/* oklch */ color: oklch(39.2% 0.150 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c71b4',
    500: '#183d94',
    950: '#000000',
  },
}
SCSS
$custom: #183d94;
$custom-light: #6c71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#183d94",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 222.097,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.14958,
    "h": 263.6
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#183D94
secondary
#C29D46
accent
#B939EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183D94

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

Preview Lab → · Contrast checker → · Palette generator →

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