#2E2FB1#2E2FB1

#2E2FB1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.198 H 272.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2E2FB1
RGBrgb(46, 47, 177)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 74%, 69%)
CMYKcmyk(74%, 73.4%, 0%, 30.6%)
CIE-LABlab(28.87, 43.24, -68.43)
CIE-LCHlch(28.87, 80.94, 302.29°)
OKLaboklab(40.51% 0.0098 -0.198)
OKLCHoklch(40.51% 0.198 272.8)
XYZxyz(10.0764, 5.7872, 42.1724)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FB1 #B1B02E
analogous
#2E70B1 #2E2FB1 #6E2EB1
triadic
#2E2FB1 #B12E2F #2FB12E
tetradic
#2E2FB1 #B12E70 #B1B02E #2EB16E
square
#2E2FB1 #B12E70 #B1B02E #2EB16E
split-complementary
#2E2FB1 #B16E2E #70B12E
monochromatic
#151550 #212280 #2E2FB1 #4C4DD0 #7C7DDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2FB1#FFFFFF#000000##FFFFFF
##2E2FB11.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)
#004AB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e2fb1;
/* rgb */ color: rgb(46, 47, 177);
/* oklch */ color: oklch(40.5% 0.198 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c69ca',
    500: '#2e2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fb1;
$custom-light: #7c69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fb1",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 239.542,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.19823,
    "h": 272.8
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#2E2FB1
secondary
#C6C575
accent
#E146E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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