#183A72#183A72

#183A72 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.105 H 259.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#183A72
RGBrgb(24, 58, 114)
HSLhsl(217, 65%, 27%)
HSVhsv(217, 79%, 45%)
CMYKcmyk(78.9%, 49.1%, 0%, 55.3%)
CIE-LABlab(25.06, 9.44, -35.86)
CIE-LCHlch(25.06, 37.08, 284.74°)
OKLaboklab(35.7% -0.0184 -0.1029)
OKLCHoklch(35.7% 0.105 259.9)
XYZxyz(4.9259, 4.4347, 16.5127)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A72 #725018
analogous
#186772 #183A72 #231872
triadic
#183A72 #72183A #3A7218
tetradic
#183A72 #721867 #725018 #187223
square
#183A72 #721867 #725018 #187223
split-complementary
#183A72 #722318 #677218
monochromatic
#050D19 #0D203F #183A72 #2354A5 #316ED4

Accessibility & contrast

On white

11.13
#183A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#183A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A72
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A72#FFFFFF#000000##FFFFFF
##183A721.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183a72;
/* rgb */ color: rgb(24, 58, 114);
/* oklch */ color: oklch(35.7% 0.105 259.9);
Tailwind
colors: {
  custom: {
    50: '#636f9b',
    500: '#183a72',
    950: '#000000',
  },
}
SCSS
$custom: #183a72;
$custom-light: #636f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#183a72",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 217.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35695,
    "c": 0.10453,
    "h": 259.9
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#183A72
secondary
#A7803E
accent
#A940E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183A72

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

Preview Lab → · Contrast checker → · Palette generator →

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