#183A95#183A95

#183A95 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.155 H 264.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#183A95
RGBrgb(24, 58, 149)
HSLhsl(224, 72%, 34%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(83.9%, 61.1%, 0%, 41.6%)
CIE-LABlab(27.82, 23.79, -53.26)
CIE-LCHlch(27.82, 58.33, 294.07°)
OKLaboklab(38.65% -0.0149 -0.154)
OKLCHoklch(38.65% 0.155 264.5)
XYZxyz(7.3126, 5.3893, 29.0828)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A95 #957318
analogous
#187995 #183A95 #351895
triadic
#183A95 #95183A #3A9518
tetradic
#183A95 #951879 #957318 #189535
square
#183A95 #951879 #957318 #189535
split-complementary
#183A95 #953518 #799518
monochromatic
#07112C #102560 #183A95 #204FCA #4670E1

Accessibility & contrast

On white

10.11
#183A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#183A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A95
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A95#FFFFFF#000000##FFFFFF
##183A951.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183a95;
/* rgb */ color: rgb(24, 58, 149);
/* oklch */ color: oklch(38.7% 0.155 264.5);
Tailwind
colors: {
  custom: {
    50: '#6d6fb5',
    500: '#183a95',
    950: '#000000',
  },
}
SCSS
$custom: #183a95;
$custom-light: #6d6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#183a95",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 223.68,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38653,
    "c": 0.15477,
    "h": 264.5
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#183A95
secondary
#C2A146
accent
#BD39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183A95

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

Preview Lab → · Contrast checker → · Palette generator →

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