#182F4D#182F4D

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

Color values

HEX#182F4D
RGBrgb(24, 47, 77)
HSLhsl(214, 52%, 20%)
HSVhsv(214, 69%, 30%)
CMYKcmyk(68.8%, 39%, 0%, 69.8%)
CIE-LABlab(19.07, 2.01, -21.19)
CIE-LCHlch(19.07, 21.29, 275.43°)
OKLaboklab(30.27% -0.0153 -0.06)
OKLCHoklch(30.27% 0.062 255.7)
XYZxyz(2.7323, 2.7628, 7.4090)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F4D #4D3618
analogous
#184A4D #182F4D #1B184D
triadic
#182F4D #4D182F #2F4D18
tetradic
#182F4D #4D184A #4D3618 #184D1B
square
#182F4D #4D184A #4D3618 #184D1B
split-complementary
#182F4D #4D1B18 #4A4D18
monochromatic
#070E17 #09131E #182F4D #274B7C #3568AA

Accessibility & contrast

On white

13.53
#182F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F4D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F4D#FFFFFF#000000##FFFFFF
##182F4D1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182f4d;
/* rgb */ color: rgb(24, 47, 77);
/* oklch */ color: oklch(30.3% 0.062 255.7);
Tailwind
colors: {
  custom: {
    50: '#5b677f',
    500: '#182f4d',
    950: '#000000',
  },
}
SCSS
$custom: #182f4d;
$custom-light: #5b677f;
$custom-dark: #000000;
JSON
{
  "hex": "#182f4d",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 213.962,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30269,
    "c": 0.06196,
    "h": 255.7
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#182F4D
secondary
#84653D
accent
#9D4CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #182F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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