#2E2EB4#2E2EB4

#2E2EB4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.203 H 272.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2E2EB4
RGBrgb(46, 46, 180)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 74%, 71%)
CMYKcmyk(74.4%, 74.4%, 0%, 29.4%)
CIE-LABlab(28.98, 44.82, -70.04)
CIE-LCHlch(28.98, 83.15, 302.61°)
OKLaboklab(40.68% 0.0097 -0.2027)
OKLCHoklch(40.68% 0.203 272.8)
XYZxyz(10.3392, 5.8290, 43.7514)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EB4 #B4B42E
analogous
#2E71B4 #2E2EB4 #712EB4
triadic
#2E2EB4 #B42E2E #2EB42E
tetradic
#2E2EB4 #B42E71 #B4B42E #2EB471
square
#2E2EB4 #B42E71 #B4B42E #2EB471
split-complementary
#2E2EB4 #B4712E #71B42E
monochromatic
#151553 #222283 #2E2EB4 #4E4ED2 #7E7EDE

Accessibility & contrast

On white

9.70
#2E2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E2EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EB4
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EB4#FFFFFF#000000##FFFFFF
##2E2EB41.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2eb4;
/* rgb */ color: rgb(46, 46, 180);
/* oklch */ color: oklch(40.7% 0.203 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2e2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e2eb4;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2eb4",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40679,
    "c": 0.20291,
    "h": 272.8
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#2E2EB4
secondary
#C7C777
accent
#E245E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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