#183F88#183F88

#183F88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.130 H 261.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#183F88
RGBrgb(24, 63, 136)
HSLhsl(219, 70%, 31%)
HSVhsv(219, 82%, 53%)
CMYKcmyk(82.4%, 53.7%, 0%, 46.7%)
CIE-LABlab(28.18, 15.03, -44.65)
CIE-LCHlch(28.18, 47.11, 288.61°)
OKLaboklab(38.6% -0.0193 -0.1286)
OKLCHoklch(38.6% 0.13 261.5)
XYZxyz(6.5965, 5.5260, 24.0067)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F88 #886118
analogous
#187788 #183F88 #291888
triadic
#183F88 #88183F #3F8818
tetradic
#183F88 #881877 #886118 #188829
square
#183F88 #881877 #886118 #188829
split-complementary
#183F88 #882918 #778818
monochromatic
#060F20 #0F2754 #183F88 #2157BC #3E75DD

Accessibility & contrast

On white

9.97
#183F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#183F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F88
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F88#FFFFFF#000000##FFFFFF
##183F881.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B488B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183f88;
/* rgb */ color: rgb(24, 63, 136);
/* oklch */ color: oklch(38.6% 0.130 261.5);
Tailwind
colors: {
  custom: {
    50: '#6973ab',
    500: '#183f88',
    950: '#000000',
  },
}
SCSS
$custom: #183f88;
$custom-light: #6973ab;
$custom-dark: #000000;
JSON
{
  "hex": "#183f88",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 219.107,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38599,
    "c": 0.13009,
    "h": 261.5
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#183F88
secondary
#BC9140
accent
#AF3BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183F88

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

Preview Lab → · Contrast checker → · Palette generator →

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