#183C7F#183C7F

#183C7F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.2% C 0.121 H 261.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#183C7F
RGBrgb(24, 60, 127)
HSLhsl(219, 68%, 30%)
HSVhsv(219, 81%, 50%)
CMYKcmyk(81.1%, 52.8%, 0%, 50.2%)
CIE-LABlab(26.61, 13.42, -41.57)
CIE-LCHlch(26.61, 43.69, 287.89°)
OKLaboklab(37.19% -0.018 -0.1197)
OKLCHoklch(37.19% 0.121 261.4)
XYZxyz(5.8219, 4.9575, 20.7246)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C7F #7F5B18
analogous
#18707F #183C7F #27187F
triadic
#183C7F #7F183C #3C7F18
tetradic
#183C7F #7F1870 #7F5B18 #187F27
square
#183C7F #7F1870 #7F5B18 #187F27
split-complementary
#183C7F #7F2718 #707F18
monochromatic
#050C1A #0E244C #183C7F #2254B2 #3870D9

Accessibility & contrast

On white

10.54
#183C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183C7F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C7F#FFFFFF#000000##FFFFFF
##183C7F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183c7f;
/* rgb */ color: rgb(24, 60, 127);
/* oklch */ color: oklch(37.2% 0.121 261.4);
Tailwind
colors: {
  custom: {
    50: '#6671a5',
    500: '#183c7f',
    950: '#000000',
  },
}
SCSS
$custom: #183c7f;
$custom-light: #6671a5;
$custom-dark: #000000;
JSON
{
  "hex": "#183c7f",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 127
  },
  "hsl": {
    "h": 219.029,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37187,
    "c": 0.12103,
    "h": 261.4
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#183C7F
secondary
#B38B3F
accent
#AE3DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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