#183F9B#183F9B

#183F9B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.157 H 263.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#183F9B
RGBrgb(24, 63, 155)
HSLhsl(222, 73%, 35%)
HSVhsv(222, 85%, 61%)
CMYKcmyk(84.5%, 59.4%, 0%, 39.2%)
CIE-LABlab(29.70, 22.76, -53.84)
CIE-LCHlch(29.70, 58.46, 292.92°)
OKLaboklab(40.22% -0.0177 -0.1557)
OKLCHoklch(40.22% 0.157 263.5)
XYZxyz(8.0685, 6.1148, 31.7590)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F9B #9B7418
analogous
#18819B #183F9B #32189B
triadic
#183F9B #9B183F #3F9B18
tetradic
#183F9B #9B1881 #9B7418 #189B32
square
#183F9B #9B1881 #9B7418 #189B32
split-complementary
#183F9B #9B3218 #819B18
monochromatic
#081431 #102966 #183F9B #2055D0 #4A78E3

Accessibility & contrast

On white

9.45
#183F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#183F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F9B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F9B#FFFFFF#000000##FFFFFF
##183F9B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #183f9b;
/* rgb */ color: rgb(24, 63, 155);
/* oklch */ color: oklch(40.2% 0.157 263.5);
Tailwind
colors: {
  custom: {
    50: '#6e73b9',
    500: '#183f9b',
    950: '#000000',
  },
}
SCSS
$custom: #183f9b;
$custom-light: #6e73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#183f9b",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 222.137,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40222,
    "c": 0.15669,
    "h": 263.5
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#183F9B
secondary
#C5A04A
accent
#B938F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080812
muted
#7B7B81

Preview Lab

Preview with #183F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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