#18457D#18457D

#18457D is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 39.2% C 0.107 H 255.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#18457D
RGBrgb(24, 69, 125)
HSLhsl(213, 68%, 29%)
HSVhsv(213, 81%, 49%)
CMYKcmyk(80.8%, 44.8%, 0%, 51%)
CIE-LABlab(29.24, 6.35, -36.10)
CIE-LCHlch(29.24, 36.66, 279.97°)
OKLaboklab(39.16% -0.0262 -0.1034)
OKLCHoklch(39.16% 0.107 255.8)
XYZxyz(6.2051, 5.9304, 20.2157)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18457D #7D5018
analogous
#18787D #18457D #1D187D
triadic
#18457D #7D1845 #457D18
tetradic
#18457D #7D1878 #7D5018 #187D1D
square
#18457D #7D1878 #7D5018 #187D1D
split-complementary
#18457D #7D1D18 #787D18
monochromatic
#050E1A #0E294A #18457D #2261B0 #377FD9

Accessibility & contrast

On white

9.61
#18457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18457D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18457D#FFFFFF#000000##FFFFFF
##18457D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#16417C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18457d;
/* rgb */ color: rgb(24, 69, 125);
/* oklch */ color: oklch(39.2% 0.107 255.8);
Tailwind
colors: {
  custom: {
    50: '#6678a3',
    500: '#18457d',
    950: '#000000',
  },
}
SCSS
$custom: #18457d;
$custom-light: #6678a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18457d",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 213.267,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39161,
    "c": 0.10666,
    "h": 255.8
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#18457D
secondary
#B27F3F
accent
#9D3DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #18457D

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

Preview Lab → · Contrast checker → · Palette generator →

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