#183C8F#183C8F

#183C8F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.144 H 263.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#183C8F
RGBrgb(24, 60, 143)
HSLhsl(222, 71%, 33%)
HSVhsv(222, 83%, 56%)
CMYKcmyk(83.2%, 58%, 0%, 43.9%)
CIE-LABlab(27.87, 19.99, -49.49)
CIE-LCHlch(27.87, 53.37, 291.99°)
OKLaboklab(38.53% -0.0165 -0.1429)
OKLCHoklch(38.53% 0.144 263.4)
XYZxyz(6.9487, 5.4082, 26.6589)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C8F #8F6B18
analogous
#18778F #183C8F #30188F
triadic
#183C8F #8F183C #3C8F18
tetradic
#183C8F #8F1877 #8F6B18 #188F30
square
#183C8F #8F1877 #8F6B18 #188F30
split-complementary
#183C8F #8F3018 #778F18
monochromatic
#061026 #0F265B #183C8F #2152C3 #4272DF

Accessibility & contrast

On white

10.09
#183C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183C8F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C8F#FFFFFF#000000##FFFFFF
##183C8F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183c8f;
/* rgb */ color: rgb(24, 60, 143);
/* oklch */ color: oklch(38.5% 0.144 263.4);
Tailwind
colors: {
  custom: {
    50: '#6b71b0',
    500: '#183c8f',
    950: '#000000',
  },
}
SCSS
$custom: #183c8f;
$custom-light: #6b71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#183c8f",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 221.849,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.14388,
    "h": 263.4
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#183C8F
secondary
#C09A43
accent
#B73AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080711
muted
#7A7A80

Preview Lab

Preview with #183C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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