#183AA1#183AA1

#183AA1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.171 H 265.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#183AA1
RGBrgb(24, 58, 161)
HSLhsl(225, 74%, 36%)
HSVhsv(225, 85%, 63%)
CMYKcmyk(85.1%, 64%, 0%, 36.9%)
CIE-LABlab(28.88, 28.55, -58.82)
CIE-LCHlch(28.88, 65.38, 295.89°)
OKLaboklab(39.78% -0.0147 -0.1703)
OKLCHoklch(39.78% 0.171 265.1)
XYZxyz(8.3205, 5.7925, 34.3908)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183AA1 #A17F18
analogous
#187FA1 #183AA1 #3A18A1
triadic
#183AA1 #A1183A #3AA118
tetradic
#183AA1 #A1187F #A17F18 #18A13A
square
#183AA1 #A1187F #A17F18 #18A13A
split-complementary
#183AA1 #A13A18 #7FA118
monochromatic
#081436 #10276C #183AA1 #204DD6 #4F74E5

Accessibility & contrast

On white

9.73
#183AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#183AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183AA1
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183AA1#FFFFFF#000000##FFFFFF
##183AA11.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #183aa1;
/* rgb */ color: rgb(24, 58, 161);
/* oklch */ color: oklch(39.8% 0.171 265.1);
Tailwind
colors: {
  custom: {
    50: '#706fbe',
    500: '#183aa1',
    950: '#000000',
  },
}
SCSS
$custom: #183aa1;
$custom-light: #706fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#183aa1",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 225.109,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39775,
    "c": 0.17098,
    "h": 265.1
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#183AA1
secondary
#C7A94E
accent
#C337F1
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #183AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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