#2E2EB3#2E2EB3

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

Color values

HEX#2E2EB3
RGBrgb(46, 46, 179)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 74%, 70%)
CMYKcmyk(74.3%, 74.3%, 0%, 29.8%)
CIE-LABlab(28.87, 44.48, -69.61)
CIE-LCHlch(28.87, 82.61, 302.58°)
OKLaboklab(40.57% 0.0099 -0.2014)
OKLCHoklch(40.57% 0.202 272.8)
XYZxyz(10.2377, 5.7884, 43.2168)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EB3 #B3B32E
analogous
#2E71B3 #2E2EB3 #712EB3
triadic
#2E2EB3 #B32E2E #2EB32E
tetradic
#2E2EB3 #B32E71 #B3B32E #2EB371
square
#2E2EB3 #B32E71 #B3B32E #2EB371
split-complementary
#2E2EB3 #B3712E #71B32E
monochromatic
#151552 #212182 #2E2EB3 #4D4DD1 #7E7EDE

Accessibility & contrast

On white

9.73
#2E2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2E2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EB3
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EB3#FFFFFF#000000##FFFFFF
##2E2EB31.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e2eb3;
/* rgb */ color: rgb(46, 46, 179);
/* oklch */ color: oklch(40.6% 0.202 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c68cb',
    500: '#2e2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2e2eb3;
$custom-light: #7c68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2eb3",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.20169,
    "h": 272.8
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#2E2EB3
secondary
#C6C676
accent
#E246E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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