#183D95#183D95

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

Color values

HEX#183D95
RGBrgb(24, 61, 149)
HSLhsl(222, 72%, 34%)
HSVhsv(222, 84%, 58%)
CMYKcmyk(83.9%, 59.1%, 0%, 41.6%)
CIE-LABlab(28.64, 21.72, -51.91)
CIE-LCHlch(28.64, 56.27, 292.71°)
OKLaboklab(39.27% -0.0167 -0.15)
OKLCHoklch(39.27% 0.151 263.6)
XYZxyz(7.4683, 5.7007, 29.1347)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D95 #957018
analogous
#187C95 #183D95 #321895
triadic
#183D95 #95183D #3D9518
tetradic
#183D95 #95187C #957018 #189532
square
#183D95 #95187C #957018 #189532
split-complementary
#183D95 #953218 #7C9518
monochromatic
#07122C #102760 #183D95 #2053CA #4674E1

Accessibility & contrast

On white

9.81
#183D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#183D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D95
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D95#FFFFFF#000000##FFFFFF
##183D951.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183d95;
/* rgb */ color: rgb(24, 61, 149);
/* oklch */ color: oklch(39.3% 0.151 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c72b5',
    500: '#183d95',
    950: '#000000',
  },
}
SCSS
$custom: #183d95;
$custom-light: #6c72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#183d95",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 222.24,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.15096,
    "h": 263.6
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #183D95

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

Preview Lab → · Contrast checker → · Palette generator →

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