#183C95#183C95

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

Color values

HEX#183C95
RGBrgb(24, 60, 149)
HSLhsl(223, 72%, 34%)
HSVhsv(223, 84%, 58%)
CMYKcmyk(83.9%, 59.7%, 0%, 41.6%)
CIE-LABlab(28.37, 22.41, -52.36)
CIE-LCHlch(28.37, 56.95, 293.18°)
OKLaboklab(39.07% -0.0161 -0.1514)
OKLCHoklch(39.07% 0.152 263.9)
XYZxyz(7.4154, 5.5949, 29.1170)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C95 #957118
analogous
#187B95 #183C95 #331895
triadic
#183C95 #95183C #3C9518
tetradic
#183C95 #95187B #957118 #189533
square
#183C95 #95187B #957118 #189533
split-complementary
#183C95 #953318 #7B9518
monochromatic
#07122C #102760 #183C95 #2051CA #4673E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##183C95#FFFFFF#000000##FFFFFF
##183C951.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)
#004998
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183c95;
/* rgb */ color: rgb(24, 60, 149);
/* oklch */ color: oklch(39.1% 0.152 263.9);
Tailwind
colors: {
  custom: {
    50: '#6c71b5',
    500: '#183c95',
    950: '#000000',
  },
}
SCSS
$custom: #183c95;
$custom-light: #6c71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#183c95",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 222.72,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39065,
    "c": 0.15224,
    "h": 263.9
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#183C95
secondary
#C29F46
accent
#BB39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183C95

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

Preview Lab → · Contrast checker → · Palette generator →

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