#2418AB#2418AB

#2418AB is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.4% C 0.213 H 271.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2418AB
RGBrgb(36, 24, 171)
HSLhsl(245, 75%, 38%)
HSVhsv(245, 86%, 67%)
CMYKcmyk(78.9%, 86%, 0%, 32.9%)
CIE-LABlab(23.56, 52.20, -73.63)
CIE-LCHlch(23.56, 90.26, 305.33°)
OKLaboklab(36.44% 0.0069 -0.213)
OKLCHoklch(36.44% 0.213 271.8)
XYZxyz(8.4024, 3.9677, 38.8432)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2418AB #9FAB18
analogous
#1855AB #2418AB #6D18AB
triadic
#2418AB #AB2418 #18AB24
tetradic
#2418AB #AB1855 #9FAB18 #18AB6D
square
#2418AB #AB1855 #9FAB18 #18AB6D
split-complementary
#2418AB #AB6D18 #55AB18
monochromatic
#0D0940 #191075 #2418AB #3020E0 #6256E7

Accessibility & contrast

On white

11.71
#2418AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2418AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2418AB
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2418AB#FFFFFF#000000##FFFFFF
##2418AB1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAF
Deuteranopia (green-blind)
#0031A9
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2418ab;
/* rgb */ color: rgb(36, 24, 171);
/* oklch */ color: oklch(36.4% 0.213 271.8);
Tailwind
colors: {
  custom: {
    50: '#795bc6',
    500: '#2418ab',
    950: '#000000',
  },
}
SCSS
$custom: #2418ab;
$custom-light: #795bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2418ab",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 171
  },
  "hsl": {
    "h": 244.898,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36438,
    "c": 0.21307,
    "h": 271.8
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#2418AB
secondary
#C1CA55
accent
#F236E3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2418AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2418AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva