#18457A#18457A

#18457A is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.9% C 0.102 H 254.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#18457A
RGBrgb(24, 69, 122)
HSLhsl(212, 67%, 29%)
HSVhsv(212, 80%, 48%)
CMYKcmyk(80.3%, 43.4%, 0%, 52.2%)
CIE-LABlab(29.04, 5.11, -34.53)
CIE-LCHlch(29.04, 34.91, 278.42°)
OKLaboklab(38.95% -0.0269 -0.0988)
OKLCHoklch(38.95% 0.102 254.8)
XYZxyz(6.0164, 5.8549, 19.2216)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18457A #7A4D18
analogous
#18767A #18457A #1C187A
triadic
#18457A #7A1845 #457A18
tetradic
#18457A #7A1876 #7A4D18 #187A1C
square
#18457A #7A1876 #7A4D18 #187A1C
split-complementary
#18457A #7A1C18 #767A18
monochromatic
#050E1A #0E2847 #18457A #2262AD #3580D7

Accessibility & contrast

On white

9.67
#18457A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#18457A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18457A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18457A#FFFFFF#000000##FFFFFF
##18457A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497C
Deuteranopia (green-blind)
#1A4079
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #18457a;
/* rgb */ color: rgb(24, 69, 122);
/* oklch */ color: oklch(38.9% 0.102 254.8);
Tailwind
colors: {
  custom: {
    50: '#6578a1',
    500: '#18457a',
    950: '#000000',
  },
}
SCSS
$custom: #18457a;
$custom-light: #6578a1;
$custom-dark: #000000;
JSON
{
  "hex": "#18457a",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 122
  },
  "hsl": {
    "h": 212.449,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.10237,
    "h": 254.8
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#18457A
secondary
#AF7B3F
accent
#9B3EEA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #18457A

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

Preview Lab → · Contrast checker → · Palette generator →

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