#18334F#18334F

#18334F is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.5% C 0.060 H 251.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#18334F
RGBrgb(24, 51, 79)
HSLhsl(211, 53%, 20%)
HSVhsv(211, 70%, 31%)
CMYKcmyk(69.6%, 35.4%, 0%, 69%)
CIE-LABlab(20.54, 0.00, -20.21)
CIE-LCHlch(20.54, 20.21, 270.00°)
OKLaboklab(31.46% -0.0196 -0.0571)
OKLCHoklch(31.46% 0.06 251.1)
XYZxyz(2.9713, 3.1261, 7.8424)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18334F #4F3418
analogous
#184F4F #18334F #18184F
triadic
#18334F #4F1833 #334F18
tetradic
#18334F #4F184F #4F3418 #184F18
square
#18334F #4F184F #4F3418 #184F18
split-complementary
#18334F #4F1818 #4F4F18
monochromatic
#070F17 #0A1520 #18334F #26517E #3570AD

Accessibility & contrast

On white

12.92
#18334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#18334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18334F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18334F#FFFFFF#000000##FFFFFF
##18334F1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273450
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18334f;
/* rgb */ color: rgb(24, 51, 79);
/* oklch */ color: oklch(31.5% 0.060 251.1);
Tailwind
colors: {
  custom: {
    50: '#5b6a80',
    500: '#18334f',
    950: '#000000',
  },
}
SCSS
$custom: #18334f;
$custom-light: #5b6a80;
$custom-dark: #000000;
JSON
{
  "hex": "#18334f",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 210.545,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3146,
    "c": 0.06041,
    "h": 251.1
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#18334F
secondary
#86623D
accent
#954BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18334F

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

Preview Lab → · Contrast checker → · Palette generator →

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