#2E28AA#2E28AA

#2E28AA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.197 H 274.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2E28AA
RGBrgb(46, 40, 170)
HSLhsl(243, 62%, 41%)
HSVhsv(243, 76%, 67%)
CMYKcmyk(72.9%, 76.5%, 0%, 33.3%)
CIE-LABlab(26.73, 44.86, -67.75)
CIE-LCHlch(26.73, 81.26, 303.51°)
OKLaboklab(38.78% 0.0145 -0.196)
OKLCHoklch(38.78% 0.197 274.2)
XYZxyz(9.1388, 4.9998, 38.5058)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28AA #A4AA28
analogous
#2863AA #2E28AA #6F28AA
triadic
#2E28AA #AA2E28 #28AA2E
tetradic
#2E28AA #AA2863 #A4AA28 #28AA6F
square
#2E28AA #AA2863 #A4AA28 #28AA6F
split-complementary
#2E28AA #AA6F28 #63AA28
monochromatic
#131147 #211C78 #2E28AA #453ED2 #746FDD

Accessibility & contrast

On white

10.50
#2E28AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E28AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28AA
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28AA#FFFFFF#000000##FFFFFF
##2E28AA1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e28aa;
/* rgb */ color: rgb(46, 40, 170);
/* oklch */ color: oklch(38.8% 0.197 274.2);
Tailwind
colors: {
  custom: {
    50: '#7b64c5',
    500: '#2e28aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e28aa;
$custom-light: #7b64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28aa",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 242.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38777,
    "c": 0.19651,
    "h": 274.2
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#2E28AA
secondary
#C0C46A
accent
#E543DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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