#2E28A9#2E28A9

#2E28A9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.195 H 274.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2E28A9
RGBrgb(46, 40, 169)
HSLhsl(243, 62%, 41%)
HSVhsv(243, 76%, 66%)
CMYKcmyk(72.8%, 76.3%, 0%, 33.7%)
CIE-LABlab(26.63, 44.54, -67.33)
CIE-LCHlch(26.63, 80.73, 303.48°)
OKLaboklab(38.67% 0.0147 -0.1947)
OKLCHoklch(38.67% 0.195 274.3)
XYZxyz(9.0446, 4.9621, 38.0095)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28A9 #A3A928
analogous
#2862A9 #2E28A9 #6E28A9
triadic
#2E28A9 #A92E28 #28A92E
tetradic
#2E28A9 #A92862 #A3A928 #28A96E
square
#2E28A9 #A92862 #A3A928 #28A96E
split-complementary
#2E28A9 #A96E28 #62A928
monochromatic
#131146 #211C78 #2E28A9 #443DD1 #746FDD

Accessibility & contrast

On white

10.54
#2E28A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E28A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28A9
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28A9#FFFFFF#000000##FFFFFF
##2E28A91.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e28a9;
/* rgb */ color: rgb(46, 40, 169);
/* oklch */ color: oklch(38.7% 0.195 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a64c4',
    500: '#2e28a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e28a9;
$custom-light: #7a64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28a9",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 242.791,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.1953,
    "h": 274.3
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#2E28A9
secondary
#BFC469
accent
#E543DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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