#2418A0#2418A0

#2418A0 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.1% C 0.201 H 272.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2418A0
RGBrgb(36, 24, 160)
HSLhsl(245, 74%, 36%)
HSVhsv(245, 85%, 63%)
CMYKcmyk(77.5%, 85%, 0%, 37.3%)
CIE-LABlab(22.18, 48.91, -69.26)
CIE-LCHlch(22.18, 84.78, 305.23°)
OKLaboklab(35.09% 0.0098 -0.2003)
OKLCHoklch(35.09% 0.201 272.8)
XYZxyz(7.3972, 3.5656, 33.5493)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2418A0 #94A018
analogous
#1850A0 #2418A0 #6818A0
triadic
#2418A0 #A02418 #18A024
tetradic
#2418A0 #A01850 #94A018 #18A068
square
#2418A0 #A01850 #94A018 #18A068
split-complementary
#2418A0 #A06818 #50A018
monochromatic
#0C0836 #18106B #2418A0 #3020D5 #5B4EE4

Accessibility & contrast

On white

12.26
#2418A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2418A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2418A0
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2418A0#FFFFFF#000000##FFFFFF
##2418A01.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2418a0;
/* rgb */ color: rgb(36, 24, 160);
/* oklch */ color: oklch(35.1% 0.201 272.8);
Tailwind
colors: {
  custom: {
    50: '#765abe',
    500: '#2418a0',
    950: '#000000',
  },
}
SCSS
$custom: #2418a0;
$custom-light: #765abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2418a0",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 245.294,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35094,
    "c": 0.20055,
    "h": 272.8
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#2418A0
secondary
#BCC64D
accent
#F137E0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2418A0

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

Preview Lab → · Contrast checker → · Palette generator →

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