#183A6B#183A6B

#183A6B is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.2% C 0.094 H 257.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#183A6B
RGBrgb(24, 58, 107)
HSLhsl(215, 63%, 26%)
HSVhsv(215, 78%, 42%)
CMYKcmyk(77.6%, 45.8%, 0%, 58%)
CIE-LABlab(24.58, 6.54, -32.15)
CIE-LCHlch(24.58, 32.81, 281.49°)
OKLaboklab(35.17% -0.0197 -0.092)
OKLCHoklch(35.17% 0.094 257.9)
XYZxyz(4.5426, 4.2813, 14.4940)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A6B #6B4918
analogous
#18636B #183A6B #1F186B
triadic
#183A6B #6B183A #3A6B18
tetradic
#183A6B #6B1863 #6B4918 #186B1F
square
#183A6B #6B1863 #6B4918 #186B1F
split-complementary
#183A6B #6B1F18 #636B18
monochromatic
#060E19 #0D1F39 #183A6B #23559D #2E70CF

Accessibility & contrast

On white

11.31
#183A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183A6B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A6B#FFFFFF#000000##FFFFFF
##183A6B1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6D
Deuteranopia (green-blind)
#12376A
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183a6b;
/* rgb */ color: rgb(24, 58, 107);
/* oklch */ color: oklch(35.2% 0.094 257.9);
Tailwind
colors: {
  custom: {
    50: '#626f96',
    500: '#183a6b',
    950: '#000000',
  },
}
SCSS
$custom: #183a6b;
$custom-light: #626f96;
$custom-dark: #000000;
JSON
{
  "hex": "#183a6b",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 107
  },
  "hsl": {
    "h": 215.422,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35171,
    "c": 0.09409,
    "h": 257.9
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#183A6B
secondary
#A1783E
accent
#A341E6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #183A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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