#183A8F#183A8F

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

Color values

HEX#183A8F
RGBrgb(24, 58, 143)
HSLhsl(223, 71%, 33%)
HSVhsv(223, 83%, 56%)
CMYKcmyk(83.2%, 59.4%, 0%, 43.9%)
CIE-LABlab(27.30, 21.38, -50.40)
CIE-LCHlch(27.30, 54.75, 292.98°)
OKLaboklab(38.11% -0.0151 -0.1457)
OKLCHoklch(38.11% 0.146 264.1)
XYZxyz(6.8459, 5.2027, 26.6247)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A8F #8F6D18
analogous
#18758F #183A8F #31188F
triadic
#183A8F #8F183A #3A8F18
tetradic
#183A8F #8F1875 #8F6D18 #188F31
square
#183A8F #8F1875 #8F6D18 #188F31
split-complementary
#183A8F #8F3118 #758F18
monochromatic
#060F26 #0F255B #183A8F #214FC3 #426FDF

Accessibility & contrast

On white

10.29
#183A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183A8F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A8F#FFFFFF#000000##FFFFFF
##183A8F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183a8f;
/* rgb */ color: rgb(24, 58, 143);
/* oklch */ color: oklch(38.1% 0.146 264.1);
Tailwind
colors: {
  custom: {
    50: '#6b6fb1',
    500: '#183a8f',
    950: '#000000',
  },
}
SCSS
$custom: #183a8f;
$custom-light: #6b6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#183a8f",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 222.857,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3811,
    "c": 0.14645,
    "h": 264.1
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#183A8F
secondary
#C09C43
accent
#BB3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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