#183C8E#183C8E

#183C8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.142 H 263.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#183C8E
RGBrgb(24, 60, 142)
HSLhsl(222, 71%, 33%)
HSVhsv(222, 83%, 56%)
CMYKcmyk(83.1%, 57.7%, 0%, 44.3%)
CIE-LABlab(27.79, 19.58, -49.00)
CIE-LCHlch(27.79, 52.77, 291.78°)
OKLaboklab(38.45% -0.0165 -0.1415)
OKLCHoklch(38.45% 0.142 263.3)
XYZxyz(6.8733, 5.3781, 26.2618)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C8E #8E6A18
analogous
#18778E #183C8E #2F188E
triadic
#183C8E #8E183C #3C8E18
tetradic
#183C8E #8E1877 #8E6A18 #188E2F
square
#183C8E #8E1877 #8E6A18 #188E2F
split-complementary
#183C8E #8E2F18 #778E18
monochromatic
#061025 #0F265A #183C8E #2152C2 #4171DF

Accessibility & contrast

On white

10.12
#183C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#183C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C8E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C8E#FFFFFF#000000##FFFFFF
##183C8E1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183c8e;
/* rgb */ color: rgb(24, 60, 142);
/* oklch */ color: oklch(38.4% 0.142 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a71b0',
    500: '#183c8e',
    950: '#000000',
  },
}
SCSS
$custom: #183c8e;
$custom-light: #6a71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#183c8e",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 221.695,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38446,
    "c": 0.14248,
    "h": 263.3
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#183C8E
secondary
#C09942
accent
#B73AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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