#2E28B0#2E28B0

#2E28B0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.204 H 273.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2E28B0
RGBrgb(46, 40, 176)
HSLhsl(243, 63%, 42%)
HSVhsv(243, 77%, 69%)
CMYKcmyk(73.9%, 77.3%, 0%, 31%)
CIE-LABlab(27.39, 46.81, -70.28)
CIE-LCHlch(27.39, 84.44, 303.66°)
OKLaboklab(39.43% 0.0132 -0.2033)
OKLCHoklch(39.43% 0.204 273.7)
XYZxyz(9.7194, 5.2320, 41.5635)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28B0 #AAB028
analogous
#2866B0 #2E28B0 #7228B0
triadic
#2E28B0 #B02E28 #28B02E
tetradic
#2E28B0 #B02866 #AAB028 #28B072
square
#2E28B0 #B02866 #AAB028 #28B072
split-complementary
#2E28B0 #B07228 #66B028
monochromatic
#14114C #211D7E #2E28B0 #4841D4 #7873DF

Accessibility & contrast

On white

10.26
#2E28B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E28B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28B0
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28B0#FFFFFF#000000##FFFFFF
##2E28B01.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e28b0;
/* rgb */ color: rgb(46, 40, 176);
/* oklch */ color: oklch(39.4% 0.204 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c65c9',
    500: '#2e28b0',
    950: '#000000',
  },
}
SCSS
$custom: #2e28b0;
$custom-light: #7c65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28b0",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 242.647,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.20375,
    "h": 273.7
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#2E28B0
secondary
#C3C66D
accent
#E642DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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