#183A5C#183A5C

#183A5C is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.072 H 250.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#183A5C
RGBrgb(24, 58, 92)
HSLhsl(210, 59%, 23%)
HSVhsv(210, 74%, 36%)
CMYKcmyk(73.9%, 37%, 0%, 63.9%)
CIE-LABlab(23.65, 0.39, -23.91)
CIE-LCHlch(23.65, 23.92, 270.93°)
OKLaboklab(34.14% -0.0237 -0.0678)
OKLCHoklch(34.14% 0.072 250.7)
XYZxyz(3.8208, 3.9926, 10.6924)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A5C #5C3A18
analogous
#185C5C #183A5C #18185C
triadic
#183A5C #5C183A #3A5C18
tetradic
#183A5C #5C185C #5C3A18 #185C18
square
#183A5C #5C185C #5C3A18 #185C18
split-complementary
#183A5C #5C1818 #5C5C18
monochromatic
#060F18 #0B1B2B #183A5C #25598D #3177BD

Accessibility & contrast

On white

11.68
#183A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#183A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A5C
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A5C#FFFFFF#000000##FFFFFF
##183A5C1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5D
Deuteranopia (green-blind)
#21355B
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183a5c;
/* rgb */ color: rgb(24, 58, 92);
/* oklch */ color: oklch(34.1% 0.072 250.7);
Tailwind
colors: {
  custom: {
    50: '#5e6f8a',
    500: '#183a5c',
    950: '#000000',
  },
}
SCSS
$custom: #183a5c;
$custom-light: #5e6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#183a5c",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 92
  },
  "hsl": {
    "h": 210,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3414,
    "c": 0.07187,
    "h": 250.7
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#183A5C
secondary
#93683D
accent
#9446E2
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #183A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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