#2E2FBB#2E2FBB

#2E2FBB is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.210 H 272.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2E2FBB
RGBrgb(46, 47, 187)
HSLhsl(240, 61%, 46%)
HSVhsv(240, 75%, 73%)
CMYKcmyk(75.4%, 74.9%, 0%, 26.7%)
CIE-LABlab(29.91, 46.57, -72.65)
CIE-LCHlch(29.91, 86.29, 302.66°)
OKLaboklab(41.56% 0.0081 -0.2103)
OKLCHoklch(41.56% 0.21 272.2)
XYZxyz(11.1098, 6.2005, 47.6154)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FBB #BBBA2E
analogous
#2E76BB #2E2FBB #732EBB
triadic
#2E2FBB #BB2E2F #2FBB2E
tetradic
#2E2FBB #BB2E76 #BBBA2E #2EBB73
square
#2E2FBB #BB2E76 #BBBA2E #2EBB73
split-complementary
#2E2FBB #BB732E #76BB2E
monochromatic
#161659 #22238A #2E2FBB #5253D4 #8384E0

Accessibility & contrast

On white

9.37
#2E2FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E2FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FBB
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FBB#FFFFFF#000000##FFFFFF
##2E2FBB1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e2fbb;
/* rgb */ color: rgb(46, 47, 187);
/* oklch */ color: oklch(41.6% 0.210 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e69d1',
    500: '#2e2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fbb;
$custom-light: #7e69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fbb",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 239.574,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41561,
    "c": 0.21042,
    "h": 272.2
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#2E2FBB
secondary
#CAC97B
accent
#E344E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2E2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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