#2E28B7#2E28B7

#2E28B7 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.212 H 273.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2E28B7
RGBrgb(46, 40, 183)
HSLhsl(243, 64%, 44%)
HSVhsv(243, 78%, 72%)
CMYKcmyk(74.9%, 78.1%, 0%, 28.2%)
CIE-LABlab(28.16, 49.04, -73.18)
CIE-LCHlch(28.16, 88.09, 303.83°)
OKLaboklab(40.2% 0.0117 -0.2117)
OKLCHoklch(40.2% 0.212 273.2)
XYZxyz(10.4299, 5.5162, 45.3056)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28B7 #B1B728
analogous
#2869B7 #2E28B7 #7528B7
triadic
#2E28B7 #B72E28 #28B72E
tetradic
#2E28B7 #B72869 #B1B728 #28B775
square
#2E28B7 #B72869 #B1B728 #28B775
split-complementary
#2E28B7 #B77528 #69B728
monochromatic
#151253 #211D85 #2E28B7 #4C46D6 #7C78E1

Accessibility & contrast

On white

9.98
#2E28B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E28B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28B7
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28B7#FFFFFF#000000##FFFFFF
##2E28B71.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BB
Deuteranopia (green-blind)
#003BB5
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e28b7;
/* rgb */ color: rgb(46, 40, 183);
/* oklch */ color: oklch(40.2% 0.212 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e65ce',
    500: '#2e28b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e28b7;
$custom-light: #7e65ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28b7",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 242.517,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.21206,
    "h": 273.2
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E28B7

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

Preview Lab → · Contrast checker → · Palette generator →

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