#2E28B8#2E28B8

#2E28B8 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.213 H 273.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2E28B8
RGBrgb(46, 40, 184)
HSLhsl(243, 64%, 44%)
HSVhsv(243, 78%, 72%)
CMYKcmyk(75%, 78.3%, 0%, 27.8%)
CIE-LABlab(28.27, 49.36, -73.59)
CIE-LCHlch(28.27, 88.61, 303.85°)
OKLaboklab(40.31% 0.0114 -0.2129)
OKLCHoklch(40.31% 0.213 273.1)
XYZxyz(10.5343, 5.5580, 45.8557)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28B8 #B2B828
analogous
#286AB8 #2E28B8 #7628B8
triadic
#2E28B8 #B82E28 #28B82E
tetradic
#2E28B8 #B8286A #B2B828 #28B876
square
#2E28B8 #B8286A #B2B828 #28B876
split-complementary
#2E28B8 #B87628 #6AB828
monochromatic
#151253 #211D86 #2E28B8 #4C46D7 #7D79E2

Accessibility & contrast

On white

9.94
#2E28B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E28B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28B8
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28B8#FFFFFF#000000##FFFFFF
##2E28B81.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BC
Deuteranopia (green-blind)
#003CB6
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e28b8;
/* rgb */ color: rgb(46, 40, 184);
/* oklch */ color: oklch(40.3% 0.213 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e65cf',
    500: '#2e28b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e28b8;
$custom-light: #7e65cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28b8",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 242.5,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40307,
    "c": 0.21324,
    "h": 273.1
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E28B8

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

Preview Lab → · Contrast checker → · Palette generator →

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