#183A9F#183A9F

#183A9F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.168 H 265.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#183A9F
RGBrgb(24, 58, 159)
HSLhsl(225, 74%, 36%)
HSVhsv(225, 85%, 62%)
CMYKcmyk(84.9%, 63.5%, 0%, 37.6%)
CIE-LABlab(28.70, 27.77, -57.91)
CIE-LCHlch(28.70, 64.22, 295.62°)
OKLaboklab(39.59% -0.0147 -0.1677)
OKLCHoklch(39.59% 0.168 265)
XYZxyz(8.1455, 5.7225, 33.4694)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A9F #9F7D18
analogous
#187D9F #183A9F #39189F
triadic
#183A9F #9F183A #3A9F18
tetradic
#183A9F #9F187D #9F7D18 #189F39
square
#183A9F #9F187D #9F7D18 #189F39
split-complementary
#183A9F #9F3918 #7D9F18
monochromatic
#081335 #10276A #183A9F #204DD4 #4D73E4

Accessibility & contrast

On white

9.79
#183A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#183A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A9F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A9F#FFFFFF#000000##FFFFFF
##183A9F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #183a9f;
/* rgb */ color: rgb(24, 58, 159);
/* oklch */ color: oklch(39.6% 0.168 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f6fbc',
    500: '#183a9f',
    950: '#000000',
  },
}
SCSS
$custom: #183a9f;
$custom-light: #6f6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#183a9f",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 224.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39585,
    "c": 0.16832,
    "h": 265
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#183A9F
secondary
#C6A84D
accent
#C237F0
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #183A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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