#183A5F#183A5F

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

Color values

HEX#183A5F
RGBrgb(24, 58, 95)
HSLhsl(211, 60%, 23%)
HSVhsv(211, 75%, 37%)
CMYKcmyk(74.7%, 38.9%, 0%, 62.7%)
CIE-LABlab(23.82, 1.60, -25.59)
CIE-LCHlch(23.82, 25.64, 273.59°)
OKLaboklab(34.34% -0.0228 -0.0728)
OKLCHoklch(34.34% 0.076 252.6)
XYZxyz(3.9545, 4.0461, 11.3968)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A5F #5F3D18
analogous
#185D5F #183A5F #1A185F
triadic
#183A5F #5F183A #3A5F18
tetradic
#183A5F #5F185D #5F3D18 #185F1A
square
#183A5F #5F185D #5F3D18 #185F1A
split-complementary
#183A5F #5F1A18 #5D5F18
monochromatic
#060F18 #0C1C2E #183A5F #245890 #3176C1

Accessibility & contrast

On white

11.61
#183A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183A5F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A5F#FFFFFF#000000##FFFFFF
##183A5F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#1F365E
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183a5f;
/* rgb */ color: rgb(24, 58, 95);
/* oklch */ color: oklch(34.3% 0.076 252.6);
Tailwind
colors: {
  custom: {
    50: '#5f6f8c',
    500: '#183a5f',
    950: '#000000',
  },
}
SCSS
$custom: #183a5f;
$custom-light: #5f6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#183a5f",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 95
  },
  "hsl": {
    "h": 211.268,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34336,
    "c": 0.07625,
    "h": 252.6
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#183A5F
secondary
#956B3D
accent
#9745E3
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #183A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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