#183A71#183A71

#183A71 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.103 H 259.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#183A71
RGBrgb(24, 58, 113)
HSLhsl(217, 65%, 27%)
HSVhsv(217, 79%, 44%)
CMYKcmyk(78.8%, 48.7%, 0%, 55.7%)
CIE-LABlab(24.99, 9.02, -35.34)
CIE-LCHlch(24.99, 36.47, 284.32°)
OKLaboklab(35.62% -0.0185 -0.1014)
OKLCHoklch(35.62% 0.103 259.6)
XYZxyz(4.8693, 4.4120, 16.2146)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A71 #714F18
analogous
#186771 #183A71 #231871
triadic
#183A71 #71183A #3A7118
tetradic
#183A71 #711867 #714F18 #187123
square
#183A71 #711867 #714F18 #187123
split-complementary
#183A71 #712318 #677118
monochromatic
#050D19 #0D203F #183A71 #2354A3 #306ED3

Accessibility & contrast

On white

11.15
#183A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#183A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A71
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A71#FFFFFF#000000##FFFFFF
##183A711.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4073
Deuteranopia (green-blind)
#073770
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183a71;
/* rgb */ color: rgb(24, 58, 113);
/* oklch */ color: oklch(35.6% 0.103 259.6);
Tailwind
colors: {
  custom: {
    50: '#636f9a',
    500: '#183a71',
    950: '#000000',
  },
}
SCSS
$custom: #183a71;
$custom-light: #636f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#183a71",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 217.079,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35618,
    "c": 0.10305,
    "h": 259.6
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#183A71
secondary
#A67F3E
accent
#A840E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183A71

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

Preview Lab → · Contrast checker → · Palette generator →

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