#182F4E#182F4E

#182F4E is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.064 H 256.4°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#182F4E
RGBrgb(24, 47, 78)
HSLhsl(214, 53%, 20%)
HSVhsv(214, 69%, 31%)
CMYKcmyk(69.2%, 39.7%, 0%, 69.4%)
CIE-LABlab(19.13, 2.42, -21.77)
CIE-LCHlch(19.13, 21.90, 276.34°)
OKLaboklab(30.34% -0.015 -0.0617)
OKLCHoklch(30.34% 0.064 256.4)
XYZxyz(2.7679, 2.7770, 7.5964)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F4E #4E3718
analogous
#184A4E #182F4E #1C184E
triadic
#182F4E #4E182F #2F4E18
tetradic
#182F4E #4E184A #4E3718 #184E1C
square
#182F4E #4E184A #4E3718 #184E1C
split-complementary
#182F4E #4E1C18 #4A4E18
monochromatic
#070E17 #0A131F #182F4E #264B7D #3567AC

Accessibility & contrast

On white

13.50
#182F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F4E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F4E#FFFFFF#000000##FFFFFF
##182F4E1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#1A2C4D
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182f4e;
/* rgb */ color: rgb(24, 47, 78);
/* oklch */ color: oklch(30.3% 0.064 256.4);
Tailwind
colors: {
  custom: {
    50: '#5b6780',
    500: '#182f4e',
    950: '#000000',
  },
}
SCSS
$custom: #182f4e;
$custom-light: #5b6780;
$custom-dark: #000000;
JSON
{
  "hex": "#182f4e",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 214.444,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.30335,
    "c": 0.06353,
    "h": 256.4
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#182F4E
secondary
#85663D
accent
#9F4BDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #182F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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