#18427C#18427C

#18427C is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.4% C 0.109 H 257.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#18427C
RGBrgb(24, 66, 124)
HSLhsl(215, 68%, 29%)
HSVhsv(215, 81%, 49%)
CMYKcmyk(80.6%, 46.8%, 0%, 51.4%)
CIE-LABlab(28.23, 7.99, -37.08)
CIE-LCHlch(28.23, 37.93, 282.17°)
OKLaboklab(38.36% -0.0237 -0.1063)
OKLCHoklch(38.36% 0.109 257.4)
XYZxyz(5.9617, 5.5452, 19.8210)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18427C #7C5218
analogous
#18747C #18427C #20187C
triadic
#18427C #7C1842 #427C18
tetradic
#18427C #7C1874 #7C5218 #187C20
square
#18427C #7C1874 #7C5218 #187C20
split-complementary
#18427C #7C2018 #747C18
monochromatic
#050E1A #0E2749 #18427C #225DAF #367AD8

Accessibility & contrast

On white

9.96
#18427C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#18427C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18427C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18427C#FFFFFF#000000##FFFFFF
##18427C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477E
Deuteranopia (green-blind)
#0E3E7B
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #18427c;
/* rgb */ color: rgb(24, 66, 124);
/* oklch */ color: oklch(38.4% 0.109 257.4);
Tailwind
colors: {
  custom: {
    50: '#6575a2',
    500: '#18427c',
    950: '#000000',
  },
}
SCSS
$custom: #18427c;
$custom-light: #6575a2;
$custom-dark: #000000;
JSON
{
  "hex": "#18427c",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 214.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38364,
    "c": 0.10895,
    "h": 257.4
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#18427C
secondary
#B1813F
accent
#A23DEA
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #18427C

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

Preview Lab → · Contrast checker → · Palette generator →

#18427C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva