#2E28B5#2E28B5

#2E28B5 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.210 H 273.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2E28B5
RGBrgb(46, 40, 181)
HSLhsl(243, 64%, 43%)
HSVhsv(243, 78%, 71%)
CMYKcmyk(74.6%, 77.9%, 0%, 29%)
CIE-LABlab(27.94, 48.41, -72.35)
CIE-LCHlch(27.94, 87.05, 303.78°)
OKLaboklab(39.98% 0.0121 -0.2093)
OKLCHoklch(39.98% 0.21 273.3)
XYZxyz(10.2232, 5.4336, 44.2171)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28B5 #AFB528
analogous
#2868B5 #2E28B5 #7428B5
triadic
#2E28B5 #B52E28 #28B52E
tetradic
#2E28B5 #B52868 #AFB528 #28B574
square
#2E28B5 #B52868 #AFB528 #28B574
split-complementary
#2E28B5 #B57428 #68B528
monochromatic
#151251 #211D83 #2E28B5 #4B44D6 #7B77E1

Accessibility & contrast

On white

10.06
#2E28B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2E28B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28B5
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28B5#FFFFFF#000000##FFFFFF
##2E28B51.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B9
Deuteranopia (green-blind)
#003BB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e28b5;
/* rgb */ color: rgb(46, 40, 181);
/* oklch */ color: oklch(40.0% 0.210 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d65cd',
    500: '#2e28b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e28b5;
$custom-light: #7d65cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28b5",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 242.553,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.2097,
    "h": 273.3
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#2E28B5
secondary
#C5C870
accent
#E741E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E28B5

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

Preview Lab → · Contrast checker → · Palette generator →

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