#2E28B4#2E28B4

#2E28B4 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.209 H 273.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2E28B4
RGBrgb(46, 40, 180)
HSLhsl(243, 64%, 43%)
HSVhsv(243, 78%, 71%)
CMYKcmyk(74.4%, 77.8%, 0%, 29.4%)
CIE-LABlab(27.83, 48.09, -71.94)
CIE-LCHlch(27.83, 86.53, 303.76°)
OKLaboklab(39.87% 0.0123 -0.2081)
OKLCHoklch(39.87% 0.209 273.4)
XYZxyz(10.1210, 5.3927, 43.6787)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28B4 #AEB428
analogous
#2868B4 #2E28B4 #7428B4
triadic
#2E28B4 #B42E28 #28B42E
tetradic
#2E28B4 #B42868 #AEB428 #28B474
square
#2E28B4 #B42868 #AEB428 #28B474
split-complementary
#2E28B4 #B47428 #68B428
monochromatic
#141250 #211D82 #2E28B4 #4A44D5 #7A76E1

Accessibility & contrast

On white

10.10
#2E28B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2E28B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28B4
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28B4#FFFFFF#000000##FFFFFF
##2E28B41.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e28b4;
/* rgb */ color: rgb(46, 40, 180);
/* oklch */ color: oklch(39.9% 0.209 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d65cc',
    500: '#2e28b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e28b4;
$custom-light: #7d65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28b4",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 242.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.20851,
    "h": 273.4
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#2E28B4
secondary
#C4C870
accent
#E741E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E28B4

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

Preview Lab → · Contrast checker → · Palette generator →

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