#18427D#18427D

#18427D is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.110 H 257.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#18427D
RGBrgb(24, 66, 125)
HSLhsl(215, 68%, 29%)
HSVhsv(215, 81%, 49%)
CMYKcmyk(80.8%, 47.2%, 0%, 51%)
CIE-LABlab(28.30, 8.41, -37.60)
CIE-LCHlch(28.30, 38.53, 282.60°)
OKLaboklab(38.44% -0.0235 -0.1079)
OKLCHoklch(38.44% 0.11 257.7)
XYZxyz(6.0252, 5.5706, 20.1557)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18427D #7D5318
analogous
#18757D #18427D #21187D
triadic
#18427D #7D1842 #427D18
tetradic
#18427D #7D1875 #7D5318 #187D21
square
#18427D #7D1875 #7D5318 #187D21
split-complementary
#18427D #7D2118 #757D18
monochromatic
#050E1A #0E274A #18427D #225DB0 #377AD9

Accessibility & contrast

On white

9.93
#18427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18427D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18427D#FFFFFF#000000##FFFFFF
##18427D1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#0B3E7C
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #18427d;
/* rgb */ color: rgb(24, 66, 125);
/* oklch */ color: oklch(38.4% 0.110 257.7);
Tailwind
colors: {
  custom: {
    50: '#6675a3',
    500: '#18427d',
    950: '#000000',
  },
}
SCSS
$custom: #18427d;
$custom-light: #6675a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18427d",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 215.05,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38438,
    "c": 0.11039,
    "h": 257.7
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#18427D
secondary
#B2823F
accent
#A33DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #18427D

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

Preview Lab → · Contrast checker → · Palette generator →

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