#183C71#183C71

#183C71 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.100 H 258.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#183C71
RGBrgb(24, 60, 113)
HSLhsl(216, 65%, 27%)
HSVhsv(216, 79%, 44%)
CMYKcmyk(78.8%, 46.9%, 0%, 55.7%)
CIE-LABlab(25.62, 7.62, -34.33)
CIE-LCHlch(25.62, 35.17, 282.51°)
OKLaboklab(36.1% -0.0204 -0.0984)
OKLCHoklch(36.1% 0.1 258.3)
XYZxyz(4.9721, 4.6176, 16.2488)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C71 #714D18
analogous
#186971 #183C71 #201871
triadic
#183C71 #71183C #3C7118
tetradic
#183C71 #711869 #714D18 #187120
square
#183C71 #711869 #714D18 #187120
split-complementary
#183C71 #712018 #697118
monochromatic
#050D19 #0D213F #183C71 #2357A3 #3072D3

Accessibility & contrast

On white

10.92
#183C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#183C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C71
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C71#FFFFFF#000000##FFFFFF
##183C711.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183c71;
/* rgb */ color: rgb(24, 60, 113);
/* oklch */ color: oklch(36.1% 0.100 258.3);
Tailwind
colors: {
  custom: {
    50: '#63719a',
    500: '#183c71',
    950: '#000000',
  },
}
SCSS
$custom: #183c71;
$custom-light: #63719a;
$custom-dark: #000000;
JSON
{
  "hex": "#183c71",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 215.73,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36102,
    "c": 0.10047,
    "h": 258.3
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#183C71
secondary
#A67C3E
accent
#A440E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183C71

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

Preview Lab → · Contrast checker → · Palette generator →

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