#2E2FB9#2E2FB9

#2E2FB9 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.208 H 272.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2E2FB9
RGBrgb(46, 47, 185)
HSLhsl(240, 60%, 45%)
HSVhsv(240, 75%, 73%)
CMYKcmyk(75.1%, 74.6%, 0%, 27.5%)
CIE-LABlab(29.70, 45.91, -71.81)
CIE-LCHlch(29.70, 85.23, 302.59°)
OKLaboklab(41.35% 0.0084 -0.2078)
OKLCHoklch(41.35% 0.208 272.3)
XYZxyz(10.8972, 6.1155, 46.4956)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FB9 #B9B82E
analogous
#2E75B9 #2E2FB9 #722EB9
triadic
#2E2FB9 #B92E2F #2FB92E
tetradic
#2E2FB9 #B92E75 #B9B82E #2EB972
square
#2E2FB9 #B92E75 #B9B82E #2EB972
split-complementary
#2E2FB9 #B9722E #75B92E
monochromatic
#161657 #222388 #2E2FB9 #5152D4 #8282E0

Accessibility & contrast

On white

9.44
#2E2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E2FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FB9
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FB9#FFFFFF#000000##FFFFFF
##2E2FB91.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e2fb9;
/* rgb */ color: rgb(46, 47, 185);
/* oklch */ color: oklch(41.3% 0.208 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e69cf',
    500: '#2e2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fb9;
$custom-light: #7e69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fb9",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 239.568,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.20801,
    "h": 272.3
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#2E2FB9
secondary
#C9C87A
accent
#E244E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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