#2E2FB5#2E2FB5

#2E2FB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.203 H 272.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2E2FB5
RGBrgb(46, 47, 181)
HSLhsl(240, 59%, 45%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(74.6%, 74%, 0%, 29%)
CIE-LABlab(29.28, 44.58, -70.13)
CIE-LCHlch(29.28, 83.10, 302.44°)
OKLaboklab(40.93% 0.0091 -0.2029)
OKLCHoklch(40.93% 0.203 272.6)
XYZxyz(10.4809, 5.9490, 44.3030)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FB5 #B5B42E
analogous
#2E72B5 #2E2FB5 #712EB5
triadic
#2E2FB5 #B52E2F #2FB52E
tetradic
#2E2FB5 #B52E72 #B5B42E #2EB571
square
#2E2FB5 #B52E72 #B5B42E #2EB571
split-complementary
#2E2FB5 #B5712E #72B52E
monochromatic
#151653 #222284 #2E2FB5 #4E4FD2 #7F80DE

Accessibility & contrast

On white

9.59
#2E2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FB5
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FB5#FFFFFF#000000##FFFFFF
##2E2FB51.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e2fb5;
/* rgb */ color: rgb(46, 47, 181);
/* oklch */ color: oklch(40.9% 0.203 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d69cc',
    500: '#2e2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fb5;
$custom-light: #7d69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fb5",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 239.556,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.20314,
    "h": 272.6
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#2E2FB5
secondary
#C7C778
accent
#E145E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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