#183B7B#183B7B

#183B7B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.117 H 261.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#183B7B
RGBrgb(24, 59, 123)
HSLhsl(219, 67%, 29%)
HSVhsv(219, 80%, 48%)
CMYKcmyk(80.5%, 52%, 0%, 51.8%)
CIE-LABlab(26.01, 12.47, -40.03)
CIE-LCHlch(26.01, 41.92, 287.30°)
OKLaboklab(36.64% -0.0178 -0.1151)
OKLCHoklch(36.64% 0.117 261.2)
XYZxyz(5.5145, 4.7515, 19.3616)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B7B #7B5818
analogous
#186D7B #183B7B #27187B
triadic
#183B7B #7B183B #3B7B18
tetradic
#183B7B #7B186D #7B5818 #187B27
square
#183B7B #7B186D #7B5818 #187B27
split-complementary
#183B7B #7B2718 #6D7B18
monochromatic
#050C1A #0E2248 #183B7B #2254AE #366FD8

Accessibility & contrast

On white

10.77
#183B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183B7B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B7B#FFFFFF#000000##FFFFFF
##183B7B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183b7b;
/* rgb */ color: rgb(24, 59, 123);
/* oklch */ color: oklch(36.6% 0.117 261.2);
Tailwind
colors: {
  custom: {
    50: '#6670a2',
    500: '#183b7b',
    950: '#000000',
  },
}
SCSS
$custom: #183b7b;
$custom-light: #6670a2;
$custom-dark: #000000;
JSON
{
  "hex": "#183b7b",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 123
  },
  "hsl": {
    "h": 218.788,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36635,
    "c": 0.11651,
    "h": 261.2
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#183B7B
secondary
#B0883F
accent
#AD3EEA
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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