#183BA1#183BA1

#183BA1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.170 H 264.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#183BA1
RGBrgb(24, 59, 161)
HSLhsl(225, 74%, 36%)
HSVhsv(225, 85%, 63%)
CMYKcmyk(85.1%, 63.4%, 0%, 36.9%)
CIE-LABlab(29.14, 27.88, -58.39)
CIE-LCHlch(29.14, 64.70, 295.52°)
OKLaboklab(39.97% -0.0153 -0.1691)
OKLCHoklch(39.97% 0.17 264.8)
XYZxyz(8.3714, 5.8943, 34.4078)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183BA1 #A17E18
analogous
#1880A1 #183BA1 #3A18A1
triadic
#183BA1 #A1183B #3BA118
tetradic
#183BA1 #A11880 #A17E18 #18A13A
square
#183BA1 #A11880 #A17E18 #18A13A
split-complementary
#183BA1 #A13A18 #80A118
monochromatic
#081436 #10276C #183BA1 #204FD6 #4F75E5

Accessibility & contrast

On white

9.64
#183BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#183BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183BA1
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183BA1#FFFFFF#000000##FFFFFF
##183BA11.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183ba1;
/* rgb */ color: rgb(24, 59, 161);
/* oklch */ color: oklch(40.0% 0.170 264.8);
Tailwind
colors: {
  custom: {
    50: '#7070be',
    500: '#183ba1',
    950: '#000000',
  },
}
SCSS
$custom: #183ba1;
$custom-light: #7070be;
$custom-dark: #000000;
JSON
{
  "hex": "#183ba1",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 224.672,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39969,
    "c": 0.16977,
    "h": 264.8
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#183BA1
secondary
#C7A84E
accent
#C137F1
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #183BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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