#2E2FB2#2E2FB2

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

Color values

HEX#2E2FB2
RGBrgb(46, 47, 178)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 74%, 70%)
CMYKcmyk(74.2%, 73.6%, 0%, 30.2%)
CIE-LABlab(28.97, 43.58, -68.85)
CIE-LCHlch(28.97, 81.48, 302.33°)
OKLaboklab(40.61% 0.0096 -0.1992)
OKLCHoklch(40.61% 0.199 272.8)
XYZxyz(10.1764, 5.8272, 42.6993)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FB2 #B2B12E
analogous
#2E71B2 #2E2FB2 #6F2EB2
triadic
#2E2FB2 #B22E2F #2FB22E
tetradic
#2E2FB2 #B22E71 #B2B12E #2EB26F
square
#2E2FB2 #B22E71 #B2B12E #2EB26F
split-complementary
#2E2FB2 #B26F2E #71B22E
monochromatic
#151551 #212281 #2E2FB2 #4C4DD1 #7D7EDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2FB2#FFFFFF#000000##FFFFFF
##2E2FB21.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)
#004BB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e2fb2;
/* rgb */ color: rgb(46, 47, 178);
/* oklch */ color: oklch(40.6% 0.199 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c69ca',
    500: '#2e2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fb2;
$custom-light: #7c69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fb2",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 239.545,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.19947,
    "h": 272.8
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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