#183C7E#183C7E

#183C7E is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.120 H 261.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#183C7E
RGBrgb(24, 60, 126)
HSLhsl(219, 68%, 29%)
HSVhsv(219, 81%, 49%)
CMYKcmyk(81%, 52.4%, 0%, 50.6%)
CIE-LABlab(26.54, 13.00, -41.07)
CIE-LCHlch(26.54, 43.08, 287.57°)
OKLaboklab(37.11% -0.0182 -0.1182)
OKLCHoklch(37.11% 0.12 261.3)
XYZxyz(5.7571, 4.9316, 20.3831)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C7E #7E5A18
analogous
#186F7E #183C7E #27187E
triadic
#183C7E #7E183C #3C7E18
tetradic
#183C7E #7E186F #7E5A18 #187E27
square
#183C7E #7E186F #7E5A18 #187E27
split-complementary
#183C7E #7E2718 #6F7E18
monochromatic
#050C1A #0E244B #183C7E #2254B1 #3770D9

Accessibility & contrast

On white

10.57
#183C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#183C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C7E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C7E#FFFFFF#000000##FFFFFF
##183C7E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124480
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183c7e;
/* rgb */ color: rgb(24, 60, 126);
/* oklch */ color: oklch(37.1% 0.120 261.3);
Tailwind
colors: {
  custom: {
    50: '#6671a4',
    500: '#183c7e',
    950: '#000000',
  },
}
SCSS
$custom: #183c7e;
$custom-light: #6671a4;
$custom-dark: #000000;
JSON
{
  "hex": "#183c7e",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 218.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37106,
    "c": 0.11958,
    "h": 261.3
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#183C7E
secondary
#B28A3F
accent
#AD3DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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