#2420B3#2420B3

#2420B3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.217 H 270.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2420B3
RGBrgb(36, 32, 179)
HSLhsl(242, 70%, 41%)
HSVhsv(242, 82%, 70%)
CMYKcmyk(79.9%, 82.1%, 0%, 29.8%)
CIE-LABlab(25.75, 51.09, -74.81)
CIE-LCHlch(25.75, 90.59, 304.33°)
OKLaboklab(38.23% 0.0032 -0.2165)
OKLCHoklch(38.23% 0.217 270.9)
XYZxyz(9.3780, 4.6617, 43.0446)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2420B3 #AFB320
analogous
#2066B3 #2420B3 #6E20B3
triadic
#2420B3 #B32420 #20B324
tetradic
#2420B3 #B32066 #AFB320 #20B36E
square
#2420B3 #B32066 #AFB320 #20B36E
split-complementary
#2420B3 #B36E20 #66B320
monochromatic
#0F0D4B #1A177F #2420B3 #3A35DB #6D69E4

Accessibility & contrast

On white

10.87
#2420B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2420B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2420B3
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2420B3#FFFFFF#000000##FFFFFF
##2420B31.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2420b3;
/* rgb */ color: rgb(36, 32, 179);
/* oklch */ color: oklch(38.2% 0.217 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a60cb',
    500: '#2420b3',
    950: '#000000',
  },
}
SCSS
$custom: #2420b3;
$custom-light: #7a60cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2420b3",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 241.633,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.21654,
    "h": 270.9
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#2420B3
secondary
#C7CA65
accent
#EC3BE8
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #2420B3

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

Preview Lab → · Contrast checker → · Palette generator →

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