#18247F#18247F

#18247F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.152 H 269.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#18247F
RGBrgb(24, 36, 127)
HSLhsl(233, 68%, 30%)
HSVhsv(233, 81%, 50%)
CMYKcmyk(81.1%, 71.7%, 0%, 50.2%)
CIE-LABlab(19.99, 30.14, -52.38)
CIE-LCHlch(19.99, 60.43, 299.92°)
OKLaboklab(32.25% -0.002 -0.1517)
OKLCHoklch(32.25% 0.152 269.3)
XYZxyz(4.8370, 2.9877, 20.3963)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18247F #7F7318
analogous
#18577F #18247F #40187F
triadic
#18247F #7F1824 #247F18
tetradic
#18247F #7F1857 #7F7318 #187F40
square
#18247F #7F1857 #7F7318 #187F40
split-complementary
#18247F #7F4018 #577F18
monochromatic
#05071A #0E154C #18247F #2233B2 #384BD9

Accessibility & contrast

On white

13.14
#18247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#18247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18247F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18247F#FFFFFF#000000##FFFFFF
##18247F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18247f;
/* rgb */ color: rgb(24, 36, 127);
/* oklch */ color: oklch(32.3% 0.152 269.3);
Tailwind
colors: {
  custom: {
    50: '#695fa5',
    500: '#18247f',
    950: '#000000',
  },
}
SCSS
$custom: #18247f;
$custom-light: #695fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#18247f",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 233.01,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32254,
    "c": 0.15169,
    "h": 269.3
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#18247F
secondary
#B3A63F
accent
#D73DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #18247F

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

Preview Lab → · Contrast checker → · Palette generator →

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