#183A6D#183A6D

#183A6D is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.097 H 258.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#183A6D
RGBrgb(24, 58, 109)
HSLhsl(216, 64%, 26%)
HSVhsv(216, 78%, 43%)
CMYKcmyk(78%, 46.8%, 0%, 57.3%)
CIE-LABlab(24.71, 7.36, -33.22)
CIE-LCHlch(24.71, 34.03, 282.50°)
OKLaboklab(35.32% -0.0193 -0.0951)
OKLCHoklch(35.32% 0.097 258.5)
XYZxyz(4.6491, 4.3239, 15.0546)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A6D #6D4B18
analogous
#18646D #183A6D #20186D
triadic
#183A6D #6D183A #3A6D18
tetradic
#183A6D #6D1864 #6D4B18 #186D20
square
#183A6D #6D1864 #6D4B18 #186D20
split-complementary
#183A6D #6D2018 #646D18
monochromatic
#060D19 #0D1F3B #183A6D #23559F #2E6FD1

Accessibility & contrast

On white

11.26
#183A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#183A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A6D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A6D#FFFFFF#000000##FFFFFF
##183A6D1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183a6d;
/* rgb */ color: rgb(24, 58, 109);
/* oklch */ color: oklch(35.3% 0.097 258.5);
Tailwind
colors: {
  custom: {
    50: '#626f97',
    500: '#183a6d',
    950: '#000000',
  },
}
SCSS
$custom: #183a6d;
$custom-light: #626f97;
$custom-dark: #000000;
JSON
{
  "hex": "#183a6d",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 109
  },
  "hsl": {
    "h": 216,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35318,
    "c": 0.09708,
    "h": 258.5
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#183A6D
secondary
#A37A3E
accent
#A541E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #183A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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