#183A93#183A93

#183A93 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.152 H 264.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#183A93
RGBrgb(24, 58, 147)
HSLhsl(223, 72%, 34%)
HSVhsv(223, 84%, 58%)
CMYKcmyk(83.7%, 60.5%, 0%, 42.4%)
CIE-LABlab(27.64, 22.99, -52.31)
CIE-LCHlch(27.64, 57.14, 293.73°)
OKLaboklab(38.47% -0.015 -0.1513)
OKLCHoklch(38.47% 0.152 264.4)
XYZxyz(7.1543, 5.3260, 28.2491)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A93 #937118
analogous
#187793 #183A93 #341893
triadic
#183A93 #93183A #3A9318
tetradic
#183A93 #931877 #937118 #189334
square
#183A93 #931877 #937118 #189334
split-complementary
#183A93 #933418 #779318
monochromatic
#07102A #0F255E #183A93 #214FC8 #4570E1

Accessibility & contrast

On white

10.17
#183A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#183A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A93
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A93#FFFFFF#000000##FFFFFF
##183A931.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183a93;
/* rgb */ color: rgb(24, 58, 147);
/* oklch */ color: oklch(38.5% 0.152 264.4);
Tailwind
colors: {
  custom: {
    50: '#6c6fb3',
    500: '#183a93',
    950: '#000000',
  },
}
SCSS
$custom: #183a93;
$custom-light: #6c6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#183a93",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 223.415,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3847,
    "c": 0.15201,
    "h": 264.4
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#183A93
secondary
#C29F45
accent
#BC39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183A93

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

Preview Lab → · Contrast checker → · Palette generator →

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