#2428AF#2428AF

#2428AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.205 H 270.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2428AF
RGBrgb(36, 40, 175)
HSLhsl(238, 66%, 41%)
HSVhsv(238, 79%, 69%)
CMYKcmyk(79.4%, 77.1%, 0%, 31.4%)
CIE-LABlab(26.70, 45.71, -70.84)
CIE-LCHlch(26.70, 84.31, 302.83°)
OKLaboklab(38.76% 0.0018 -0.2051)
OKLCHoklch(38.76% 0.205 270.5)
XYZxyz(9.2216, 4.9868, 41.0257)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2428AF #AFAB24
analogous
#246EAF #2428AF #6624AF
triadic
#2428AF #AF2428 #28AF24
tetradic
#2428AF #AF246E #AFAB24 #24AF66
square
#2428AF #AF246E #AFAB24 #24AF66
split-complementary
#2428AF #AF6624 #6EAF24
monochromatic
#0F1149 #1A1C7C #2428AF #3A3ED6 #6D70E1

Accessibility & contrast

On white

10.51
#2428AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2428AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2428AF
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2428AF#FFFFFF#000000##FFFFFF
##2428AF1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2428af;
/* rgb */ color: rgb(36, 40, 175);
/* oklch */ color: oklch(38.8% 0.205 270.5);
Tailwind
colors: {
  custom: {
    50: '#7964c8',
    500: '#2428af',
    950: '#000000',
  },
}
SCSS
$custom: #2428af;
$custom-light: #7964c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2428af",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 238.273,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38755,
    "c": 0.20516,
    "h": 270.5
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#2428AF
secondary
#C7C468
accent
#E43FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2428AF

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

Preview Lab → · Contrast checker → · Palette generator →

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