#183A6F#183A6F

#183A6F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.100 H 259.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#183A6F
RGBrgb(24, 58, 111)
HSLhsl(217, 64%, 26%)
HSVhsv(217, 78%, 44%)
CMYKcmyk(78.4%, 47.7%, 0%, 56.5%)
CIE-LABlab(24.85, 8.19, -34.28)
CIE-LCHlch(24.85, 35.25, 283.44°)
OKLaboklab(35.47% -0.0189 -0.0983)
OKLCHoklch(35.47% 0.1 259.1)
XYZxyz(4.7579, 4.3675, 15.6281)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A6F #6F4D18
analogous
#18666F #183A6F #22186F
triadic
#183A6F #6F183A #3A6F18
tetradic
#183A6F #6F1866 #6F4D18 #186F22
square
#183A6F #6F1866 #6F4D18 #186F22
split-complementary
#183A6F #6F2218 #666F18
monochromatic
#050D19 #0D203D #183A6F #2354A1 #2F6FD2

Accessibility & contrast

On white

11.21
#183A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#183A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A6F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A6F#FFFFFF#000000##FFFFFF
##183A6F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F71
Deuteranopia (green-blind)
#0C376E
Tritanopia (blue-blind)
#00474F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183a6f;
/* rgb */ color: rgb(24, 58, 111);
/* oklch */ color: oklch(35.5% 0.100 259.1);
Tailwind
colors: {
  custom: {
    50: '#626f99',
    500: '#183a6f',
    950: '#000000',
  },
}
SCSS
$custom: #183a6f;
$custom-light: #626f99;
$custom-dark: #000000;
JSON
{
  "hex": "#183a6f",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 111
  },
  "hsl": {
    "h": 216.552,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35467,
    "c": 0.10007,
    "h": 259.1
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#183A6F
secondary
#A57D3E
accent
#A640E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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