#183E9F#183E9F

#183E9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.163 H 264.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#183E9F
RGBrgb(24, 62, 159)
HSLhsl(223, 74%, 36%)
HSVhsv(223, 85%, 62%)
CMYKcmyk(84.9%, 61%, 0%, 37.6%)
CIE-LABlab(29.77, 25.05, -56.16)
CIE-LCHlch(29.77, 61.49, 294.04°)
OKLaboklab(40.38% -0.0169 -0.1625)
OKLCHoklch(40.38% 0.163 264.1)
XYZxyz(8.3551, 6.1416, 33.5393)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E9F #9F7918
analogous
#18819F #183E9F #35189F
triadic
#183E9F #9F183E #3E9F18
tetradic
#183E9F #9F1881 #9F7918 #189F35
square
#183E9F #9F1881 #9F7918 #189F35
split-complementary
#183E9F #9F3518 #819F18
monochromatic
#081535 #10296A #183E9F #2053D4 #4D78E4

Accessibility & contrast

On white

9.42
#183E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#183E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E9F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E9F#FFFFFF#000000##FFFFFF
##183E9F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #183e9f;
/* rgb */ color: rgb(24, 62, 159);
/* oklch */ color: oklch(40.4% 0.163 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f72bc',
    500: '#183e9f',
    950: '#000000',
  },
}
SCSS
$custom: #183e9f;
$custom-light: #6f72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#183e9f",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 223.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40378,
    "c": 0.16338,
    "h": 264.1
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#183E9F
secondary
#C6A44D
accent
#BC37F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #183E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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