#2E28AE#2E28AE

#2E28AE is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.201 H 273.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2E28AE
RGBrgb(46, 40, 174)
HSLhsl(243, 63%, 42%)
HSVhsv(243, 77%, 68%)
CMYKcmyk(73.6%, 77%, 0%, 31.8%)
CIE-LABlab(27.17, 46.16, -69.44)
CIE-LCHlch(27.17, 83.38, 303.61°)
OKLaboklab(39.21% 0.0136 -0.2009)
OKLCHoklch(39.21% 0.201 273.9)
XYZxyz(9.5229, 5.1535, 40.5290)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28AE #A8AE28
analogous
#2865AE #2E28AE #7128AE
triadic
#2E28AE #AE2E28 #28AE2E
tetradic
#2E28AE #AE2865 #A8AE28 #28AE71
square
#2E28AE #AE2865 #A8AE28 #28AE71
split-complementary
#2E28AE #AE7128 #65AE28
monochromatic
#14114A #211D7C #2E28AE #4740D3 #7772DF

Accessibility & contrast

On white

10.34
#2E28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28AE
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28AE#FFFFFF#000000##FFFFFF
##2E28AE1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e28ae;
/* rgb */ color: rgb(46, 40, 174);
/* oklch */ color: oklch(39.2% 0.201 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c64c7',
    500: '#2e28ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e28ae;
$custom-light: #7c64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28ae",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 242.687,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3921,
    "c": 0.20135,
    "h": 273.9
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#2E28AE
secondary
#C2C66C
accent
#E642DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E28AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2E28AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva