#183F84#183F84

#183F84 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.124 H 260.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#183F84
RGBrgb(24, 63, 132)
HSLhsl(218, 69%, 31%)
HSVhsv(218, 82%, 52%)
CMYKcmyk(81.8%, 52.3%, 0%, 48.2%)
CIE-LABlab(27.88, 13.38, -42.64)
CIE-LCHlch(27.88, 44.70, 287.42°)
OKLaboklab(38.28% -0.0198 -0.1228)
OKLCHoklch(38.28% 0.124 260.8)
XYZxyz(6.3175, 5.4144, 22.5374)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F84 #845D18
analogous
#187584 #183F84 #271884
triadic
#183F84 #84183F #3F8418
tetradic
#183F84 #841875 #845D18 #188427
square
#183F84 #841875 #845D18 #188427
split-complementary
#183F84 #842718 #758418
monochromatic
#050E1C #0F2650 #183F84 #2158B8 #3B75DB

Accessibility & contrast

On white

10.08
#183F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183F84
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F84#FFFFFF#000000##FFFFFF
##183F841.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134786
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183f84;
/* rgb */ color: rgb(24, 63, 132);
/* oklch */ color: oklch(38.3% 0.124 260.8);
Tailwind
colors: {
  custom: {
    50: '#6873a8',
    500: '#183f84',
    950: '#000000',
  },
}
SCSS
$custom: #183f84;
$custom-light: #6873a8;
$custom-dark: #000000;
JSON
{
  "hex": "#183f84",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 218.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38275,
    "c": 0.12435,
    "h": 260.8
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#183F84
secondary
#B88D40
accent
#AC3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183F84

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

Preview Lab → · Contrast checker → · Palette generator →

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