#2E2FB0#2E2FB0

#2E2FB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.197 H 272.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2E2FB0
RGBrgb(46, 47, 176)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 74%, 69%)
CMYKcmyk(73.9%, 73.3%, 0%, 31%)
CIE-LABlab(28.77, 42.91, -68.00)
CIE-LCHlch(28.77, 80.40, 302.25°)
OKLaboklab(40.41% 0.01 -0.1967)
OKLCHoklch(40.41% 0.197 272.9)
XYZxyz(9.9771, 5.7474, 41.6494)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FB0 #B0AF2E
analogous
#2E70B0 #2E2FB0 #6E2EB0
triadic
#2E2FB0 #B02E2F #2FB02E
tetradic
#2E2FB0 #B02E70 #B0AF2E #2EB06E
square
#2E2FB0 #B02E70 #B0AF2E #2EB06E
split-complementary
#2E2FB0 #B06E2E #70B02E
monochromatic
#15154F #21227F #2E2FB0 #4B4CD0 #7C7CDD

Accessibility & contrast

On white

9.77
#2E2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2E2FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FB0
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FB0#FFFFFF#000000##FFFFFF
##2E2FB01.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e2fb0;
/* rgb */ color: rgb(46, 47, 176);
/* oklch */ color: oklch(40.4% 0.197 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b69c9',
    500: '#2e2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fb0;
$custom-light: #7b69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fb0",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 239.538,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.197,
    "h": 272.9
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#2E2FB0
secondary
#C5C475
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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