#183B8F#183B8F

#183B8F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.145 H 263.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#183B8F
RGBrgb(24, 59, 143)
HSLhsl(222, 71%, 33%)
HSVhsv(222, 83%, 56%)
CMYKcmyk(83.2%, 58.7%, 0%, 43.9%)
CIE-LABlab(27.59, 20.68, -49.95)
CIE-LCHlch(27.59, 54.06, 292.49°)
OKLaboklab(38.32% -0.0158 -0.1443)
OKLCHoklch(38.32% 0.145 263.8)
XYZxyz(6.8968, 5.3045, 26.6416)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B8F #8F6C18
analogous
#18768F #183B8F #31188F
triadic
#183B8F #8F183B #3B8F18
tetradic
#183B8F #8F1876 #8F6C18 #188F31
square
#183B8F #8F1876 #8F6C18 #188F31
split-complementary
#183B8F #8F3118 #768F18
monochromatic
#061026 #0F255B #183B8F #2151C3 #4270DF

Accessibility & contrast

On white

10.19
#183B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#183B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B8F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B8F#FFFFFF#000000##FFFFFF
##183B8F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183b8f;
/* rgb */ color: rgb(24, 59, 143);
/* oklch */ color: oklch(38.3% 0.145 263.8);
Tailwind
colors: {
  custom: {
    50: '#6b70b1',
    500: '#183b8f',
    950: '#000000',
  },
}
SCSS
$custom: #183b8f;
$custom-light: #6b70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#183b8f",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 222.353,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38321,
    "c": 0.14517,
    "h": 263.8
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#183B8F
secondary
#C09B43
accent
#B93AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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