#183B7A#183B7A

#183B7A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.115 H 261.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#183B7A
RGBrgb(24, 59, 122)
HSLhsl(219, 67%, 29%)
HSVhsv(219, 80%, 48%)
CMYKcmyk(80.3%, 51.6%, 0%, 52.2%)
CIE-LABlab(25.94, 12.05, -39.52)
CIE-LCHlch(25.94, 41.31, 286.96°)
OKLaboklab(36.56% -0.0179 -0.1136)
OKLCHoklch(36.56% 0.115 261)
XYZxyz(5.4522, 4.7266, 19.0336)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B7A #7A5718
analogous
#186C7A #183B7A #26187A
triadic
#183B7A #7A183B #3B7A18
tetradic
#183B7A #7A186C #7A5718 #187A26
square
#183B7A #7A186C #7A5718 #187A26
split-complementary
#183B7A #7A2618 #6C7A18
monochromatic
#050C1A #0E2247 #183B7A #2254AD #356FD7

Accessibility & contrast

On white

10.79
#183B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#183B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B7A
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B7A#FFFFFF#000000##FFFFFF
##183B7A1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183b7a;
/* rgb */ color: rgb(24, 59, 122);
/* oklch */ color: oklch(36.6% 0.115 261.0);
Tailwind
colors: {
  custom: {
    50: '#6570a1',
    500: '#183b7a',
    950: '#000000',
  },
}
SCSS
$custom: #183b7a;
$custom-light: #6570a1;
$custom-dark: #000000;
JSON
{
  "hex": "#183b7a",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 122
  },
  "hsl": {
    "h": 218.571,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36555,
    "c": 0.11504,
    "h": 261
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#183B7A
secondary
#AF873F
accent
#AD3EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #183B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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