#18224F#18224F

#18224F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.083 H 270.5°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#18224F
RGBrgb(24, 34, 79)
HSLhsl(229, 53%, 20%)
HSVhsv(229, 70%, 31%)
CMYKcmyk(69.6%, 57%, 0%, 69%)
CIE-LABlab(14.97, 12.38, -29.09)
CIE-LCHlch(14.97, 31.62, 293.05°)
OKLaboklab(27.16% 0.0007 -0.0834)
OKLCHoklch(27.16% 0.083 270.5)
XYZxyz(2.3595, 1.9026, 7.6385)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18224F #4F4518
analogous
#183D4F #18224F #29184F
triadic
#18224F #4F1822 #224F18
tetradic
#18224F #4F183D #4F4518 #184F29
square
#18224F #4F183D #4F4518 #184F29
split-complementary
#18224F #4F2918 #3D4F18
monochromatic
#070A17 #0A0E20 #18224F #26367E #354AAD

Accessibility & contrast

On white

15.21
#18224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18224F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18224F#FFFFFF#000000##FFFFFF
##18224F1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072851
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18224f;
/* rgb */ color: rgb(24, 34, 79);
/* oklch */ color: oklch(27.2% 0.083 270.5);
Tailwind
colors: {
  custom: {
    50: '#5c5c81',
    500: '#18224f',
    950: '#000000',
  },
}
SCSS
$custom: #18224f;
$custom-light: #5c5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#18224f",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 229.091,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27161,
    "c": 0.08344,
    "h": 270.5
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#18224F
secondary
#86793D
accent
#C24BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18224F

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

Preview Lab → · Contrast checker → · Palette generator →

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