#2428B1#2428B1

#2428B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.208 H 270.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2428B1
RGBrgb(36, 40, 177)
HSLhsl(238, 66%, 42%)
HSVhsv(238, 80%, 69%)
CMYKcmyk(79.7%, 77.4%, 0%, 30.6%)
CIE-LABlab(26.92, 46.38, -71.66)
CIE-LCHlch(26.92, 85.36, 302.91°)
OKLaboklab(38.98% 0.0014 -0.2075)
OKLCHoklch(38.98% 0.208 270.4)
XYZxyz(9.4195, 5.0659, 42.0678)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2428B1 #B1AD24
analogous
#246FB1 #2428B1 #6724B1
triadic
#2428B1 #B12428 #28B124
tetradic
#2428B1 #B1246F #B1AD24 #24B167
square
#2428B1 #B1246F #B1AD24 #24B167
split-complementary
#2428B1 #B16724 #6FB124
monochromatic
#0F114B #1A1D7E #2428B1 #3B3FD7 #6E71E1

Accessibility & contrast

On white

10.43
#2428B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2428B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2428B1
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2428B1#FFFFFF#000000##FFFFFF
##2428B11.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2428b1;
/* rgb */ color: rgb(36, 40, 177);
/* oklch */ color: oklch(39.0% 0.208 270.4);
Tailwind
colors: {
  custom: {
    50: '#7964ca',
    500: '#2428b1',
    950: '#000000',
  },
}
SCSS
$custom: #2428b1;
$custom-light: #7964ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2428b1",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 238.298,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.3898,
    "c": 0.20755,
    "h": 270.4
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#2428B1
secondary
#C8C569
accent
#E43FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2428B1

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

Preview Lab → · Contrast checker → · Palette generator →

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