#18334E#18334E

#18334E is a dark, muted cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.059 H 250.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#18334E
RGBrgb(24, 51, 78)
HSLhsl(210, 53%, 20%)
HSVhsv(210, 69%, 31%)
CMYKcmyk(69.2%, 34.6%, 0%, 69.4%)
CIE-LABlab(20.49, -0.40, -19.63)
CIE-LCHlch(20.49, 19.63, 268.84°)
OKLaboklab(31.4% -0.0199 -0.0554)
OKLCHoklch(31.4% 0.059 250.2)
XYZxyz(2.9352, 3.1116, 7.6522)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18334E #4E3318
analogous
#184E4E #18334E #18184E
triadic
#18334E #4E1833 #334E18
tetradic
#18334E #4E184E #4E3318 #184E18
square
#18334E #4E184E #4E3318 #184E18
split-complementary
#18334E #4E1818 #4E4E18
monochromatic
#070F17 #0A141F #18334E #26527D #3570AC

Accessibility & contrast

On white

12.94
#18334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#18334E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18334E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18334E#FFFFFF#000000##FFFFFF
##18334E1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344F
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18334e;
/* rgb */ color: rgb(24, 51, 78);
/* oklch */ color: oklch(31.4% 0.059 250.2);
Tailwind
colors: {
  custom: {
    50: '#5b6a7f',
    500: '#18334e',
    950: '#000000',
  },
}
SCSS
$custom: #18334e;
$custom-light: #5b6a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#18334e",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 210,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31398,
    "c": 0.05893,
    "h": 250.2
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#18334E
secondary
#85613D
accent
#944BDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18334E

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

Preview Lab → · Contrast checker → · Palette generator →

#18334E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva