#18457F#18457F

#18457F is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.3% C 0.110 H 256.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#18457F
RGBrgb(24, 69, 127)
HSLhsl(214, 68%, 30%)
HSVhsv(214, 81%, 50%)
CMYKcmyk(81.1%, 45.7%, 0%, 50.2%)
CIE-LABlab(29.37, 7.17, -37.14)
CIE-LCHlch(29.37, 37.83, 280.92°)
OKLaboklab(39.3% -0.0258 -0.1064)
OKLCHoklch(39.3% 0.11 256.4)
XYZxyz(6.3342, 5.9820, 20.8954)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18457F #7F5218
analogous
#18797F #18457F #1E187F
triadic
#18457F #7F1845 #457F18
tetradic
#18457F #7F1879 #7F5218 #187F1E
square
#18457F #7F1879 #7F5218 #187F1E
split-complementary
#18457F #7F1E18 #797F18
monochromatic
#050E1A #0E294C #18457F #2261B2 #387FD9

Accessibility & contrast

On white

9.56
#18457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#18457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18457F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18457F#FFFFFF#000000##FFFFFF
##18457F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#12417E
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18457f;
/* rgb */ color: rgb(24, 69, 127);
/* oklch */ color: oklch(39.3% 0.110 256.4);
Tailwind
colors: {
  custom: {
    50: '#6678a4',
    500: '#18457f',
    950: '#000000',
  },
}
SCSS
$custom: #18457f;
$custom-light: #6678a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18457f",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 213.786,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.10952,
    "h": 256.4
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#18457F
secondary
#B3813F
accent
#9F3DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #18457F

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

Preview Lab → · Contrast checker → · Palette generator →

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