#2428A8#2428A8

#2428A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.197 H 270.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2428A8
RGBrgb(36, 40, 168)
HSLhsl(238, 65%, 40%)
HSVhsv(238, 79%, 66%)
CMYKcmyk(78.6%, 76.2%, 0%, 34.1%)
CIE-LABlab(25.92, 43.37, -67.92)
CIE-LCHlch(25.92, 80.58, 302.56°)
OKLaboklab(37.98% 0.0031 -0.1967)
OKLCHoklch(37.98% 0.197 270.9)
XYZxyz(8.5518, 4.7189, 37.4983)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2428A8 #A8A424
analogous
#246AA8 #2428A8 #6224A8
triadic
#2428A8 #A82428 #28A824
tetradic
#2428A8 #A8246A #A8A424 #24A862
square
#2428A8 #A8246A #A8A424 #24A862
split-complementary
#2428A8 #A86224 #6AA824
monochromatic
#0E1043 #191C76 #2428A8 #353AD4 #686BDF

Accessibility & contrast

On white

10.80
#2428A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2428A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2428A8
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2428A8#FFFFFF#000000##FFFFFF
##2428A81.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2428a8;
/* rgb */ color: rgb(36, 40, 168);
/* oklch */ color: oklch(38.0% 0.197 270.9);
Tailwind
colors: {
  custom: {
    50: '#7764c3',
    500: '#2428a8',
    950: '#000000',
  },
}
SCSS
$custom: #2428a8;
$custom-light: #7764c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2428a8",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 238.182,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.37976,
    "c": 0.19669,
    "h": 270.9
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#2428A8
secondary
#C4C163
accent
#E340E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2428A8

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

Preview Lab → · Contrast checker → · Palette generator →

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