#182F4F#182F4F

#182F4F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.065 H 257.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#182F4F
RGBrgb(24, 47, 79)
HSLhsl(215, 53%, 20%)
HSVhsv(215, 70%, 31%)
CMYKcmyk(69.6%, 40.5%, 0%, 69%)
CIE-LABlab(19.19, 2.82, -22.35)
CIE-LCHlch(19.19, 22.52, 277.19°)
OKLaboklab(30.4% -0.0147 -0.0634)
OKLCHoklch(30.4% 0.065 257)
XYZxyz(2.8040, 2.7915, 7.7867)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F4F #4F3818
analogous
#184A4F #182F4F #1C184F
triadic
#182F4F #4F182F #2F4F18
tetradic
#182F4F #4F184A #4F3818 #184F1C
square
#182F4F #4F184A #4F3818 #184F1C
split-complementary
#182F4F #4F1C18 #4A4F18
monochromatic
#070E17 #0A1320 #182F4F #264B7E #3567AD

Accessibility & contrast

On white

13.48
#182F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F4F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F4F#FFFFFF#000000##FFFFFF
##182F4F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213150
Deuteranopia (green-blind)
#192C4E
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182f4f;
/* rgb */ color: rgb(24, 47, 79);
/* oklch */ color: oklch(30.4% 0.065 257.0);
Tailwind
colors: {
  custom: {
    50: '#5b6780',
    500: '#182f4f',
    950: '#000000',
  },
}
SCSS
$custom: #182f4f;
$custom-light: #5b6780;
$custom-dark: #000000;
JSON
{
  "hex": "#182f4f",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 214.909,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30402,
    "c": 0.06509,
    "h": 257
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#182F4F
secondary
#86673D
accent
#A04BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #182F4F

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

Preview Lab → · Contrast checker → · Palette generator →

#182F4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva