#2428A5#2428A5

#2428A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.193 H 271.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2428A5
RGBrgb(36, 40, 165)
HSLhsl(238, 64%, 39%)
HSVhsv(238, 78%, 65%)
CMYKcmyk(78.2%, 75.8%, 0%, 35.3%)
CIE-LABlab(25.59, 42.35, -66.65)
CIE-LCHlch(25.59, 78.96, 302.43°)
OKLaboklab(37.65% 0.0036 -0.193)
OKLCHoklch(37.65% 0.193 271.1)
XYZxyz(8.2756, 4.6084, 36.0434)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2428A5 #A5A124
analogous
#2468A5 #2428A5 #6124A5
triadic
#2428A5 #A52428 #28A524
tetradic
#2428A5 #A52468 #A5A124 #24A561
square
#2428A5 #A52468 #A5A124 #24A561
split-complementary
#2428A5 #A56124 #68A524
monochromatic
#0E1041 #191C73 #2428A5 #3439D3 #666ADE

Accessibility & contrast

On white

10.93
#2428A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2428A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2428A5
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2428A5#FFFFFF#000000##FFFFFF
##2428A51.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0036A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2428a5;
/* rgb */ color: rgb(36, 40, 165);
/* oklch */ color: oklch(37.6% 0.193 271.1);
Tailwind
colors: {
  custom: {
    50: '#7664c1',
    500: '#2428a5',
    950: '#000000',
  },
}
SCSS
$custom: #2428a5;
$custom-light: #7664c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2428a5",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 238.14,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.19301,
    "h": 271.1
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#2428A5
secondary
#C3C062
accent
#E241E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2428A5

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

Preview Lab → · Contrast checker → · Palette generator →

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