#183B71#183B71

#183B71 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.102 H 259.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#183B71
RGBrgb(24, 59, 113)
HSLhsl(216, 65%, 27%)
HSVhsv(216, 79%, 44%)
CMYKcmyk(78.8%, 47.8%, 0%, 55.7%)
CIE-LABlab(25.30, 8.32, -34.84)
CIE-LCHlch(25.30, 35.82, 283.43°)
OKLaboklab(35.86% -0.0195 -0.0999)
OKLCHoklch(35.86% 0.102 259)
XYZxyz(4.9202, 4.5138, 16.2315)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B71 #714E18
analogous
#186871 #183B71 #211871
triadic
#183B71 #71183B #3B7118
tetradic
#183B71 #711868 #714E18 #187121
square
#183B71 #711868 #714E18 #187121
split-complementary
#183B71 #712118 #687118
monochromatic
#050D19 #0D213F #183B71 #2355A3 #3070D3

Accessibility & contrast

On white

11.04
#183B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#183B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B71
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B71#FFFFFF#000000##FFFFFF
##183B711.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#0B3870
Tritanopia (blue-blind)
#004850
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183b71;
/* rgb */ color: rgb(24, 59, 113);
/* oklch */ color: oklch(35.9% 0.102 259.0);
Tailwind
colors: {
  custom: {
    50: '#63709a',
    500: '#183b71',
    950: '#000000',
  },
}
SCSS
$custom: #183b71;
$custom-light: #63709a;
$custom-dark: #000000;
JSON
{
  "hex": "#183b71",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 216.404,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35859,
    "c": 0.10175,
    "h": 259
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#183B71
secondary
#A67E3E
accent
#A640E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183B71

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

Preview Lab → · Contrast checker → · Palette generator →

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