#183B7E#183B7E

#183B7E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.9% C 0.121 H 261.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#183B7E
RGBrgb(24, 59, 126)
HSLhsl(219, 68%, 29%)
HSVhsv(219, 81%, 49%)
CMYKcmyk(81%, 53.2%, 0%, 50.6%)
CIE-LABlab(26.24, 13.71, -41.55)
CIE-LCHlch(26.24, 43.76, 288.26°)
OKLaboklab(36.88% -0.0174 -0.1196)
OKLCHoklch(36.88% 0.121 261.7)
XYZxyz(5.7052, 4.8278, 20.3658)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B7E #7E5B18
analogous
#186E7E #183B7E #28187E
triadic
#183B7E #7E183B #3B7E18
tetradic
#183B7E #7E186E #7E5B18 #187E28
square
#183B7E #7E186E #7E5B18 #187E28
split-complementary
#183B7E #7E2818 #6E7E18
monochromatic
#050C1A #0E234B #183B7E #2253B1 #376FD9

Accessibility & contrast

On white

10.68
#183B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#183B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B7E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B7E#FFFFFF#000000##FFFFFF
##183B7E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4380
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183b7e;
/* rgb */ color: rgb(24, 59, 126);
/* oklch */ color: oklch(36.9% 0.121 261.7);
Tailwind
colors: {
  custom: {
    50: '#6670a4',
    500: '#183b7e',
    950: '#000000',
  },
}
SCSS
$custom: #183b7e;
$custom-light: #6670a4;
$custom-dark: #000000;
JSON
{
  "hex": "#183b7e",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 219.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36877,
    "c": 0.12089,
    "h": 261.7
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#183B7E
secondary
#B28B3F
accent
#AF3DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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