#18457E#18457E

#18457E is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.2% C 0.108 H 256.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#18457E
RGBrgb(24, 69, 126)
HSLhsl(214, 68%, 29%)
HSVhsv(214, 81%, 49%)
CMYKcmyk(81%, 45.2%, 0%, 50.6%)
CIE-LABlab(29.30, 6.76, -36.62)
CIE-LCHlch(29.30, 37.24, 280.45°)
OKLaboklab(39.23% -0.026 -0.1049)
OKLCHoklch(39.23% 0.108 256.1)
XYZxyz(6.2693, 5.9561, 20.5538)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18457E #7E5118
analogous
#18787E #18457E #1E187E
triadic
#18457E #7E1845 #457E18
tetradic
#18457E #7E1878 #7E5118 #187E1E
square
#18457E #7E1878 #7E5118 #187E1E
split-complementary
#18457E #7E1E18 #787E18
monochromatic
#050E1A #0E294B #18457E #2261B1 #377FD9

Accessibility & contrast

On white

9.58
#18457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#18457E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18457E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18457E#FFFFFF#000000##FFFFFF
##18457E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#14417D
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18457e;
/* rgb */ color: rgb(24, 69, 126);
/* oklch */ color: oklch(39.2% 0.108 256.1);
Tailwind
colors: {
  custom: {
    50: '#6678a4',
    500: '#18457e',
    950: '#000000',
  },
}
SCSS
$custom: #18457e;
$custom-light: #6678a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18457e",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 213.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39232,
    "c": 0.10809,
    "h": 256.1
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#18457E
secondary
#B2803F
accent
#9E3DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #18457E

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

Preview Lab → · Contrast checker → · Palette generator →

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