#18224E#18224E

#18224E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.082 H 270.4°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#18224E
RGBrgb(24, 34, 78)
HSLhsl(229, 53%, 20%)
HSVhsv(229, 69%, 31%)
CMYKcmyk(69.2%, 56.4%, 0%, 69.4%)
CIE-LABlab(14.89, 11.97, -28.54)
CIE-LCHlch(14.89, 30.95, 292.75°)
OKLaboklab(27.08% 0.0006 -0.0818)
OKLCHoklch(27.08% 0.082 270.4)
XYZxyz(2.3234, 1.8881, 7.4483)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18224E #4E4418
analogous
#183D4E #18224E #29184E
triadic
#18224E #4E1822 #224E18
tetradic
#18224E #4E183D #4E4418 #184E29
square
#18224E #4E183D #4E4418 #184E29
split-complementary
#18224E #4E2918 #3D4E18
monochromatic
#070A17 #0A0E1F #18224E #26367D #354BAC

Accessibility & contrast

On white

15.24
#18224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#18224E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18224E
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18224E#FFFFFF#000000##FFFFFF
##18224E1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092850
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #18224e;
/* rgb */ color: rgb(24, 34, 78);
/* oklch */ color: oklch(27.1% 0.082 270.4);
Tailwind
colors: {
  custom: {
    50: '#5c5c80',
    500: '#18224e',
    950: '#000000',
  },
}
SCSS
$custom: #18224e;
$custom-light: #5c5c80;
$custom-dark: #000000;
JSON
{
  "hex": "#18224e",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 228.889,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.27076,
    "c": 0.0818,
    "h": 270.4
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#18224E
secondary
#85783D
accent
#C24BDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18224E

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

Preview Lab → · Contrast checker → · Palette generator →

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