#183E7B#183E7B

#183E7B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.113 H 259.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#183E7B
RGBrgb(24, 62, 123)
HSLhsl(217, 67%, 29%)
HSVhsv(217, 80%, 48%)
CMYKcmyk(80.5%, 49.6%, 0%, 51.8%)
CIE-LABlab(26.93, 10.36, -38.55)
CIE-LCHlch(26.93, 39.92, 285.04°)
OKLaboklab(37.34% -0.0203 -0.1107)
OKLCHoklch(37.34% 0.113 259.6)
XYZxyz(5.6732, 5.0688, 19.4144)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E7B #7B5518
analogous
#18707B #183E7B #24187B
triadic
#183E7B #7B183E #3E7B18
tetradic
#183E7B #7B1870 #7B5518 #187B24
square
#183E7B #7B1870 #7B5518 #187B24
split-complementary
#183E7B #7B2418 #707B18
monochromatic
#050D1A #0E2448 #183E7B #2258AE #3674D8

Accessibility & contrast

On white

10.43
#183E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#183E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E7B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E7B#FFFFFF#000000##FFFFFF
##183E7B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183e7b;
/* rgb */ color: rgb(24, 62, 123);
/* oklch */ color: oklch(37.3% 0.113 259.6);
Tailwind
colors: {
  custom: {
    50: '#6572a2',
    500: '#183e7b',
    950: '#000000',
  },
}
SCSS
$custom: #183e7b;
$custom-light: #6572a2;
$custom-dark: #000000;
JSON
{
  "hex": "#183e7b",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 216.97,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37336,
    "c": 0.11259,
    "h": 259.6
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#183E7B
secondary
#B0843F
accent
#A83EEA
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #183E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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