#2418A1#2418A1

#2418A1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.2% C 0.202 H 272.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2418A1
RGBrgb(36, 24, 161)
HSLhsl(245, 74%, 36%)
HSVhsv(245, 85%, 63%)
CMYKcmyk(77.6%, 85.1%, 0%, 36.9%)
CIE-LABlab(22.30, 49.21, -69.66)
CIE-LCHlch(22.30, 85.29, 305.24°)
OKLaboklab(35.22% 0.0096 -0.2015)
OKLCHoklch(35.22% 0.202 272.7)
XYZxyz(7.4851, 3.6007, 34.0118)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2418A1 #95A118
analogous
#1851A1 #2418A1 #6918A1
triadic
#2418A1 #A12418 #18A124
tetradic
#2418A1 #A11851 #95A118 #18A169
square
#2418A1 #A11851 #95A118 #18A169
split-complementary
#2418A1 #A16918 #51A118
monochromatic
#0C0836 #18106C #2418A1 #3020D6 #5C4FE5

Accessibility & contrast

On white

12.21
#2418A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2418A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2418A1
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2418A1#FFFFFF#000000##FFFFFF
##2418A11.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2418a1;
/* rgb */ color: rgb(36, 24, 161);
/* oklch */ color: oklch(35.2% 0.202 272.7);
Tailwind
colors: {
  custom: {
    50: '#765abe',
    500: '#2418a1',
    950: '#000000',
  },
}
SCSS
$custom: #2418a1;
$custom-light: #765abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2418a1",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 245.255,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35215,
    "c": 0.2017,
    "h": 272.7
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#2418A1
secondary
#BCC74E
accent
#F137E0
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2418A1

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

Preview Lab → · Contrast checker → · Palette generator →

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