#2418B3#2418B3

#2418B3 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.4% C 0.222 H 271.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2418B3
RGBrgb(36, 24, 179)
HSLhsl(245, 76%, 40%)
HSVhsv(245, 87%, 70%)
CMYKcmyk(79.9%, 86.6%, 0%, 29.8%)
CIE-LABlab(24.58, 54.55, -76.74)
CIE-LCHlch(24.58, 94.15, 305.40°)
OKLaboklab(37.42% 0.0048 -0.222)
OKLCHoklch(37.42% 0.222 271.2)
XYZxyz(9.1881, 4.2820, 42.9813)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2418B3 #A7B318
analogous
#185AB3 #2418B3 #7118B3
triadic
#2418B3 #B32418 #18B324
tetradic
#2418B3 #B3185A #A7B318 #18B371
square
#2418B3 #B3185A #A7B318 #18B371
split-complementary
#2418B3 #B37118 #5AB318
monochromatic
#0E0A47 #19117D #2418B3 #3526E2 #675CE9

Accessibility & contrast

On white

11.31
#2418B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2418B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2418B3
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2418B3#FFFFFF#000000##FFFFFF
##2418B31.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2418b3;
/* rgb */ color: rgb(36, 24, 179);
/* oklch */ color: oklch(37.4% 0.222 271.2);
Tailwind
colors: {
  custom: {
    50: '#7b5ccb',
    500: '#2418b3',
    950: '#000000',
  },
}
SCSS
$custom: #2418b3;
$custom-light: #7b5ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2418b3",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 244.645,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37424,
    "c": 0.22201,
    "h": 271.2
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#2418B3
secondary
#C4CD5A
accent
#F335E4
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #2418B3

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

Preview Lab → · Contrast checker → · Palette generator →

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