#183B7C#183B7C

#183B7C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.118 H 261.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#183B7C
RGBrgb(24, 59, 124)
HSLhsl(219, 68%, 29%)
HSVhsv(219, 81%, 49%)
CMYKcmyk(80.6%, 52.4%, 0%, 51.4%)
CIE-LABlab(26.09, 12.88, -40.54)
CIE-LCHlch(26.09, 42.53, 287.63°)
OKLaboklab(36.71% -0.0176 -0.1166)
OKLCHoklch(36.71% 0.118 261.4)
XYZxyz(5.5774, 4.7767, 19.6929)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B7C #7C5918
analogous
#186D7C #183B7C #27187C
triadic
#183B7C #7C183B #3B7C18
tetradic
#183B7C #7C186D #7C5918 #187C27
square
#183B7C #7C186D #7C5918 #187C27
split-complementary
#183B7C #7C2718 #6D7C18
monochromatic
#050C1A #0E2349 #183B7C #2253AF #366FD8

Accessibility & contrast

On white

10.74
#183B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#183B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B7C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B7C#FFFFFF#000000##FFFFFF
##183B7C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12437E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183b7c;
/* rgb */ color: rgb(24, 59, 124);
/* oklch */ color: oklch(36.7% 0.118 261.4);
Tailwind
colors: {
  custom: {
    50: '#6670a2',
    500: '#183b7c',
    950: '#000000',
  },
}
SCSS
$custom: #183b7c;
$custom-light: #6670a2;
$custom-dark: #000000;
JSON
{
  "hex": "#183b7c",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 124
  },
  "hsl": {
    "h": 219,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36715,
    "c": 0.11797,
    "h": 261.4
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#183B7C
secondary
#B1893F
accent
#AE3DEA
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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