#2428A6#2428A6

#2428A6 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.194 H 271.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2428A6
RGBrgb(36, 40, 166)
HSLhsl(238, 64%, 40%)
HSVhsv(238, 78%, 65%)
CMYKcmyk(78.3%, 75.9%, 0%, 34.9%)
CIE-LABlab(25.70, 42.69, -67.07)
CIE-LCHlch(25.70, 79.50, 302.48°)
OKLaboklab(37.76% 0.0034 -0.1942)
OKLCHoklch(37.76% 0.194 271)
XYZxyz(8.3669, 4.6449, 36.5246)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2428A6 #A6A224
analogous
#2469A6 #2428A6 #6124A6
triadic
#2428A6 #A62428 #28A624
tetradic
#2428A6 #A62469 #A6A224 #24A661
square
#2428A6 #A62469 #A6A224 #24A661
split-complementary
#2428A6 #A66124 #69A624
monochromatic
#0E1041 #191C74 #2428A6 #3439D3 #666ADE

Accessibility & contrast

On white

10.89
#2428A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2428A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2428A6
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2428A6#FFFFFF#000000##FFFFFF
##2428A61.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2428a6;
/* rgb */ color: rgb(36, 40, 166);
/* oklch */ color: oklch(37.8% 0.194 271.0);
Tailwind
colors: {
  custom: {
    50: '#7664c2',
    500: '#2428a6',
    950: '#000000',
  },
}
SCSS
$custom: #2428a6;
$custom-light: #7664c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2428a6",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 238.154,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37756,
    "c": 0.19424,
    "h": 271
  },
  "luminance": 0.04646
}

Semantic roles & 50–950 ramp

primary
#2428A6
secondary
#C4C162
accent
#E240E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2428A6

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

Preview Lab → · Contrast checker → · Palette generator →

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