#2428BD#2428BD

#2428BD is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.222 H 269.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2428BD
RGBrgb(36, 40, 189)
HSLhsl(238, 68%, 44%)
HSVhsv(238, 81%, 74%)
CMYKcmyk(81%, 78.8%, 0%, 25.9%)
CIE-LABlab(28.29, 50.29, -76.54)
CIE-LCHlch(28.29, 91.58, 303.31°)
OKLaboklab(40.34% -0.0008 -0.2217)
OKLCHoklch(40.34% 0.222 269.8)
XYZxyz(10.6685, 5.5655, 48.6462)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2428BD #BDB924
analogous
#2475BD #2428BD #6C24BD
triadic
#2428BD #BD2428 #28BD24
tetradic
#2428BD #BD2475 #BDB924 #24BD6C
square
#2428BD #BD2475 #BDB924 #24BD6C
split-complementary
#2428BD #BD6C24 #75BD24
monochromatic
#101256 #1A1D8A #2428BD #4347DB #7679E5

Accessibility & contrast

On white

9.94
#2428BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2428BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2428BD
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2428BD#FFFFFF#000000##FFFFFF
##2428BD1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2428bd;
/* rgb */ color: rgb(36, 40, 189);
/* oklch */ color: oklch(40.3% 0.222 269.8);
Tailwind
colors: {
  custom: {
    50: '#7c65d2',
    500: '#2428bd',
    950: '#000000',
  },
}
SCSS
$custom: #2428bd;
$custom-light: #7c65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2428bd",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 238.431,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.22166,
    "h": 269.8
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#2428BD
secondary
#CCCA70
accent
#E63DEB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2428BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2428BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva