#2E2FB4#2E2FB4

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

Color values

HEX#2E2FB4
RGBrgb(46, 47, 180)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 74%, 71%)
CMYKcmyk(74.4%, 73.9%, 0%, 29.4%)
CIE-LABlab(29.18, 44.25, -69.70)
CIE-LCHlch(29.18, 82.56, 302.41°)
OKLaboklab(40.82% 0.0093 -0.2017)
OKLCHoklch(40.82% 0.202 272.6)
XYZxyz(10.3787, 5.9081, 43.7646)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FB4 #B4B32E
analogous
#2E72B4 #2E2FB4 #702EB4
triadic
#2E2FB4 #B42E2F #2FB42E
tetradic
#2E2FB4 #B42E72 #B4B32E #2EB470
square
#2E2FB4 #B42E72 #B4B32E #2EB470
split-complementary
#2E2FB4 #B4702E #72B42E
monochromatic
#151653 #222283 #2E2FB4 #4E4FD2 #7E7FDE

Accessibility & contrast

On white

9.63
#2E2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FB4
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FB4#FFFFFF#000000##FFFFFF
##2E2FB41.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e2fb4;
/* rgb */ color: rgb(46, 47, 180);
/* oklch */ color: oklch(40.8% 0.202 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c69cc',
    500: '#2e2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fb4;
$custom-light: #7c69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fb4",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 239.552,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.20192,
    "h": 272.6
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#2E2FB4
secondary
#C7C677
accent
#E145E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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