#183A87#183A87

#183A87 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.135 H 263.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#183A87
RGBrgb(24, 58, 135)
HSLhsl(222, 70%, 31%)
HSVhsv(222, 82%, 53%)
CMYKcmyk(82.2%, 57%, 0%, 47.1%)
CIE-LABlab(26.65, 18.12, -46.52)
CIE-LCHlch(26.65, 49.92, 291.28°)
OKLaboklab(37.41% -0.0157 -0.1343)
OKLCHoklch(37.41% 0.135 263.3)
XYZxyz(6.2614, 4.9688, 23.5461)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A87 #876518
analogous
#187187 #183A87 #2E1887
triadic
#183A87 #87183A #3A8718
tetradic
#183A87 #871871 #876518 #18872E
square
#183A87 #871871 #876518 #18872E
split-complementary
#183A87 #872E18 #718718
monochromatic
#060D1F #0F2453 #183A87 #2150BB #3D6EDC

Accessibility & contrast

On white

10.53
#183A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#183A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A87
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A87#FFFFFF#000000##FFFFFF
##183A871.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183a87;
/* rgb */ color: rgb(24, 58, 135);
/* oklch */ color: oklch(37.4% 0.135 263.3);
Tailwind
colors: {
  custom: {
    50: '#696fab',
    500: '#183a87',
    950: '#000000',
  },
}
SCSS
$custom: #183a87;
$custom-light: #696fab;
$custom-dark: #000000;
JSON
{
  "hex": "#183a87",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 221.622,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37408,
    "c": 0.13517,
    "h": 263.3
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#183A87
secondary
#BB9540
accent
#B63BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183A87

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

Preview Lab → · Contrast checker → · Palette generator →

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