#183B8C#183B8C

#183B8C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.141 H 263.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#183B8C
RGBrgb(24, 59, 140)
HSLhsl(222, 71%, 32%)
HSVhsv(222, 83%, 55%)
CMYKcmyk(82.9%, 57.9%, 0%, 45.1%)
CIE-LABlab(27.34, 19.46, -48.49)
CIE-LCHlch(27.34, 52.25, 291.87°)
OKLaboklab(38.06% -0.016 -0.14)
OKLCHoklch(38.06% 0.141 263.5)
XYZxyz(6.6726, 5.2148, 25.4607)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B8C #8C6918
analogous
#18758C #183B8C #2F188C
triadic
#183B8C #8C183B #3B8C18
tetradic
#183B8C #8C1875 #8C6918 #188C2F
square
#183B8C #8C1875 #8C6918 #188C2F
split-complementary
#183B8C #8C2F18 #758C18
monochromatic
#060F24 #0F2558 #183B8C #2151C0 #4070DE

Accessibility & contrast

On white

10.28
#183B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#183B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B8C
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B8C#FFFFFF#000000##FFFFFF
##183B8C1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183b8c;
/* rgb */ color: rgb(24, 59, 140);
/* oklch */ color: oklch(38.1% 0.141 263.5);
Tailwind
colors: {
  custom: {
    50: '#6a70ae',
    500: '#183b8c',
    950: '#000000',
  },
}
SCSS
$custom: #183b8c;
$custom-light: #6a70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#183b8c",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 140
  },
  "hsl": {
    "h": 221.897,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38058,
    "c": 0.14096,
    "h": 263.5
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#183B8C
secondary
#BF9941
accent
#B73AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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