#183E5F#183E5F

#183E5F is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.4% C 0.072 H 247.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#183E5F
RGBrgb(24, 62, 95)
HSLhsl(208, 60%, 23%)
HSVhsv(208, 75%, 37%)
CMYKcmyk(74.7%, 34.7%, 0%, 62.7%)
CIE-LABlab(25.15, -1.12, -23.49)
CIE-LCHlch(25.15, 23.52, 267.27°)
OKLaboklab(35.38% -0.0273 -0.0666)
OKLCHoklch(35.38% 0.072 247.7)
XYZxyz(4.1641, 4.4652, 11.4667)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E5F #5F3918
analogous
#185F5C #183E5F #181A5F
triadic
#183E5F #5F183E #3E5F18
tetradic
#183E5F #5C185F #5F3918 #1A5F18
square
#183E5F #5C185F #5F3918 #1A5F18
split-complementary
#183E5F #5F181A #5F5C18
monochromatic
#061018 #0C1E2E #183E5F #245E90 #317EC1

Accessibility & contrast

On white

11.09
#183E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#183E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E5F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E5F#FFFFFF#000000##FFFFFF
##183E5F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F60
Deuteranopia (green-blind)
#25395E
Tritanopia (blue-blind)
#00464A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183e5f;
/* rgb */ color: rgb(24, 62, 95);
/* oklch */ color: oklch(35.4% 0.072 247.7);
Tailwind
colors: {
  custom: {
    50: '#5f738c',
    500: '#183e5f',
    950: '#000000',
  },
}
SCSS
$custom: #183e5f;
$custom-light: #5f738c;
$custom-dark: #000000;
JSON
{
  "hex": "#183e5f",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 95
  },
  "hsl": {
    "h": 207.887,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35379,
    "c": 0.07193,
    "h": 247.7
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#183E5F
secondary
#95663D
accent
#8E45E3
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #183E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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