#2427C5#2427C5

#2427C5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.232 H 269.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2427C5
RGBrgb(36, 39, 197)
HSLhsl(239, 69%, 46%)
HSVhsv(239, 82%, 77%)
CMYKcmyk(81.7%, 80.2%, 0%, 22.7%)
CIE-LABlab(29.05, 53.33, -79.99)
CIE-LCHlch(29.05, 96.14, 303.69°)
OKLaboklab(41.14% -0.002 -0.2317)
OKLCHoklch(41.14% 0.232 269.5)
XYZxyz(11.5277, 5.8560, 53.3352)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2427C5 #C5C224
analogous
#2477C5 #2427C5 #7124C5
triadic
#2427C5 #C52427 #27C524
tetradic
#2427C5 #C52477 #C5C224 #24C571
square
#2427C5 #C52477 #C5C224 #24C571
split-complementary
#2427C5 #C57124 #77C524
monochromatic
#11135E #1B1D91 #2427C5 #494BDE #7C7EE7

Accessibility & contrast

On white

9.67
#2427C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2427C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2427C5
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2427C5#FFFFFF#000000##FFFFFF
##2427C51.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003CC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2427c5;
/* rgb */ color: rgb(36, 39, 197);
/* oklch */ color: oklch(41.1% 0.232 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e65d8',
    500: '#2427c5',
    950: '#000000',
  },
}
SCSS
$custom: #2427c5;
$custom-light: #7e65d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2427c5",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 197
  },
  "hsl": {
    "h": 238.882,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41137,
    "c": 0.23167,
    "h": 269.5
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#2427C5
secondary
#CFCE76
accent
#E93CEC
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2427C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2427C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva