#183B74#183B74

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

Color values

HEX#183B74
RGBrgb(24, 59, 116)
HSLhsl(217, 66%, 27%)
HSVhsv(217, 79%, 45%)
CMYKcmyk(79.3%, 49.1%, 0%, 54.5%)
CIE-LABlab(25.51, 9.56, -36.41)
CIE-LCHlch(25.51, 37.65, 284.72°)
OKLaboklab(36.09% -0.0189 -0.1045)
OKLCHoklch(36.09% 0.106 259.7)
XYZxyz(5.0919, 4.5825, 17.1358)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B74 #745118
analogous
#186974 #183B74 #231874
triadic
#183B74 #74183B #3B7418
tetradic
#183B74 #741869 #745118 #187423
square
#183B74 #741869 #745118 #187423
split-complementary
#183B74 #742318 #697418
monochromatic
#050D19 #0E2141 #183B74 #2255A7 #3270D5

Accessibility & contrast

On white

10.96
#183B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183B74
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B74#FFFFFF#000000##FFFFFF
##183B741.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#043973
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183b74;
/* rgb */ color: rgb(24, 59, 116);
/* oklch */ color: oklch(36.1% 0.106 259.7);
Tailwind
colors: {
  custom: {
    50: '#64709c',
    500: '#183b74',
    950: '#000000',
  },
}
SCSS
$custom: #183b74;
$custom-light: #64709c;
$custom-dark: #000000;
JSON
{
  "hex": "#183b74",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 116
  },
  "hsl": {
    "h": 217.174,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36087,
    "c": 0.1062,
    "h": 259.7
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#183B74
secondary
#A9813F
accent
#A83FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183B74

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

Preview Lab → · Contrast checker → · Palette generator →

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