#183A8C#183A8C

#183A8C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.142 H 263.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#183A8C
RGBrgb(24, 58, 140)
HSLhsl(222, 71%, 32%)
HSVhsv(222, 83%, 55%)
CMYKcmyk(82.9%, 58.6%, 0%, 45.1%)
CIE-LABlab(27.05, 20.16, -48.96)
CIE-LCHlch(27.05, 52.95, 292.38°)
OKLaboklab(37.84% -0.0153 -0.1414)
OKLCHoklch(37.84% 0.142 263.8)
XYZxyz(6.6217, 5.1130, 25.4438)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A8C #8C6A18
analogous
#18748C #183A8C #30188C
triadic
#183A8C #8C183A #3A8C18
tetradic
#183A8C #8C1874 #8C6A18 #188C30
square
#183A8C #8C1874 #8C6A18 #188C30
split-complementary
#183A8C #8C3018 #748C18
monochromatic
#060F24 #0F2458 #183A8C #2150C0 #406EDE

Accessibility & contrast

On white

10.38
#183A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A8C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A8C#FFFFFF#000000##FFFFFF
##183A8C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183a8c;
/* rgb */ color: rgb(24, 58, 140);
/* oklch */ color: oklch(37.8% 0.142 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a6fae',
    500: '#183a8c',
    950: '#000000',
  },
}
SCSS
$custom: #183a8c;
$custom-light: #6a6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#183a8c",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 140
  },
  "hsl": {
    "h": 222.414,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37844,
    "c": 0.14226,
    "h": 263.8
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#183A8C
secondary
#BF9A41
accent
#B93AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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