#2E28B2#2E28B2

#2E28B2 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.206 H 273.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2E28B2
RGBrgb(46, 40, 178)
HSLhsl(243, 63%, 43%)
HSVhsv(243, 78%, 70%)
CMYKcmyk(74.2%, 77.5%, 0%, 30.2%)
CIE-LABlab(27.61, 47.45, -71.11)
CIE-LCHlch(27.61, 85.49, 303.71°)
OKLaboklab(39.65% 0.0128 -0.2057)
OKLCHoklch(39.65% 0.206 273.5)
XYZxyz(9.9187, 5.3118, 42.6134)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28B2 #ACB228
analogous
#2867B2 #2E28B2 #7328B2
triadic
#2E28B2 #B22E28 #28B22E
tetradic
#2E28B2 #B22867 #ACB228 #28B273
square
#2E28B2 #B22867 #ACB228 #28B273
split-complementary
#2E28B2 #B27328 #67B228
monochromatic
#14124E #211D80 #2E28B2 #4943D5 #7975E0

Accessibility & contrast

On white

10.18
#2E28B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E28B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28B2
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28B2#FFFFFF#000000##FFFFFF
##2E28B21.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e28b2;
/* rgb */ color: rgb(46, 40, 178);
/* oklch */ color: oklch(39.6% 0.206 273.5);
Tailwind
colors: {
  custom: {
    50: '#7d65ca',
    500: '#2e28b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e28b2;
$custom-light: #7d65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28b2",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 242.609,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39647,
    "c": 0.20614,
    "h": 273.5
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#2E28B2
secondary
#C3C76F
accent
#E641DF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E28B2

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

Preview Lab → · Contrast checker → · Palette generator →

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