#18247D#18247D

#18247D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.149 H 269.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#18247D
RGBrgb(24, 36, 125)
HSLhsl(233, 68%, 29%)
HSVhsv(233, 81%, 49%)
CMYKcmyk(80.8%, 71.2%, 0%, 51%)
CIE-LABlab(19.79, 29.38, -51.45)
CIE-LCHlch(19.79, 59.25, 299.72°)
OKLaboklab(32.04% -0.0017 -0.149)
OKLCHoklch(32.04% 0.149 269.3)
XYZxyz(4.7080, 2.9361, 19.7167)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18247D #7D7118
analogous
#18577D #18247D #3F187D
triadic
#18247D #7D1824 #247D18
tetradic
#18247D #7D1857 #7D7118 #187D3F
square
#18247D #7D1857 #7D7118 #187D3F
split-complementary
#18247D #7D3F18 #577D18
monochromatic
#05071A #0E154A #18247D #2233B0 #374AD9

Accessibility & contrast

On white

13.23
#18247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#18247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18247D
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18247D#FFFFFF#000000##FFFFFF
##18247D1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18247d;
/* rgb */ color: rgb(24, 36, 125);
/* oklch */ color: oklch(32.0% 0.149 269.3);
Tailwind
colors: {
  custom: {
    50: '#685fa4',
    500: '#18247d',
    950: '#000000',
  },
}
SCSS
$custom: #18247d;
$custom-light: #685fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#18247d",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 232.871,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3204,
    "c": 0.14899,
    "h": 269.3
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#18247D
secondary
#B2A43F
accent
#D63DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #18247D

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

Preview Lab → · Contrast checker → · Palette generator →

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