#18247E#18247E

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

Color values

HEX#18247E
RGBrgb(24, 36, 126)
HSLhsl(233, 68%, 29%)
HSVhsv(233, 81%, 49%)
CMYKcmyk(81%, 71.4%, 0%, 50.6%)
CIE-LABlab(19.89, 29.76, -51.91)
CIE-LCHlch(19.89, 59.84, 299.82°)
OKLaboklab(32.15% -0.0018 -0.1503)
OKLCHoklch(32.15% 0.15 269.3)
XYZxyz(4.7722, 2.9618, 20.0548)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18247E #7E7218
analogous
#18577E #18247E #3F187E
triadic
#18247E #7E1824 #247E18
tetradic
#18247E #7E1857 #7E7218 #187E3F
square
#18247E #7E1857 #7E7218 #187E3F
split-complementary
#18247E #7E3F18 #577E18
monochromatic
#05071A #0E154B #18247E #2233B1 #374AD9

Accessibility & contrast

On white

13.19
#18247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18247E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18247E#FFFFFF#000000##FFFFFF
##18247E1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18247e;
/* rgb */ color: rgb(24, 36, 126);
/* oklch */ color: oklch(32.1% 0.150 269.3);
Tailwind
colors: {
  custom: {
    50: '#685fa4',
    500: '#18247e',
    950: '#000000',
  },
}
SCSS
$custom: #18247e;
$custom-light: #685fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#18247e",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 232.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32147,
    "c": 0.15034,
    "h": 269.3
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18247E

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

Preview Lab → · Contrast checker → · Palette generator →

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