#2E2FB3#2E2FB3

#2E2FB3 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.7% C 0.201 H 272.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2E2FB3
RGBrgb(46, 47, 179)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 74%, 70%)
CMYKcmyk(74.3%, 73.7%, 0%, 29.8%)
CIE-LABlab(29.08, 43.91, -69.28)
CIE-LCHlch(29.08, 82.02, 302.37°)
OKLaboklab(40.72% 0.0095 -0.2005)
OKLCHoklch(40.72% 0.201 272.7)
XYZxyz(10.2772, 5.8675, 43.2300)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FB3 #B3B22E
analogous
#2E72B3 #2E2FB3 #702EB3
triadic
#2E2FB3 #B32E2F #2FB32E
tetradic
#2E2FB3 #B32E72 #B3B22E #2EB370
square
#2E2FB3 #B32E72 #B3B22E #2EB370
split-complementary
#2E2FB3 #B3702E #72B32E
monochromatic
#151552 #212282 #2E2FB3 #4D4ED1 #7E7EDE

Accessibility & contrast

On white

9.66
#2E2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2FB3
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FB3#FFFFFF#000000##FFFFFF
##2E2FB31.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e2fb3;
/* rgb */ color: rgb(46, 47, 179);
/* oklch */ color: oklch(40.7% 0.201 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c69cb',
    500: '#2e2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fb3;
$custom-light: #7c69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fb3",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 239.549,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40718,
    "c": 0.20069,
    "h": 272.7
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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