#183A5E#183A5E

#183A5E is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.3% C 0.075 H 252.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#183A5E
RGBrgb(24, 58, 94)
HSLhsl(211, 59%, 23%)
HSVhsv(211, 74%, 37%)
CMYKcmyk(74.5%, 38.3%, 0%, 63.1%)
CIE-LABlab(23.76, 1.20, -25.04)
CIE-LCHlch(23.76, 25.07, 272.74°)
OKLaboklab(34.27% -0.0231 -0.0711)
OKLCHoklch(34.27% 0.075 252)
XYZxyz(3.9094, 4.0280, 11.1590)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A5E #5E3C18
analogous
#185D5E #183A5E #19185E
triadic
#183A5E #5E183A #3A5E18
tetradic
#183A5E #5E185D #5E3C18 #185E19
square
#183A5E #5E185D #5E3C18 #185E19
split-complementary
#183A5E #5E1918 #5D5E18
monochromatic
#060F18 #0C1C2D #183A5E #24588F #3176C0

Accessibility & contrast

On white

11.63
#183A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#183A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A5E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A5E#FFFFFF#000000##FFFFFF
##183A5E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5F
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183a5e;
/* rgb */ color: rgb(24, 58, 94);
/* oklch */ color: oklch(34.3% 0.075 252.0);
Tailwind
colors: {
  custom: {
    50: '#5f6f8c',
    500: '#183a5e',
    950: '#000000',
  },
}
SCSS
$custom: #183a5e;
$custom-light: #5f6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#183a5e",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 94
  },
  "hsl": {
    "h": 210.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3427,
    "c": 0.07479,
    "h": 252
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#183A5E
secondary
#946A3D
accent
#9645E3
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #183A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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