#2E2FBF#2E2FBF

#2E2FBF is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.215 H 272.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2E2FBF
RGBrgb(46, 47, 191)
HSLhsl(240, 61%, 46%)
HSVhsv(240, 76%, 75%)
CMYKcmyk(75.9%, 75.4%, 0%, 25.1%)
CIE-LABlab(30.34, 47.88, -74.31)
CIE-LCHlch(30.34, 88.40, 302.80°)
OKLaboklab(41.99% 0.0073 -0.2151)
OKLCHoklch(41.99% 0.215 272)
XYZxyz(11.5440, 6.3742, 49.9021)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FBF #BFBE2E
analogous
#2E78BF #2E2FBF #762EBF
triadic
#2E2FBF #BF2E2F #2FBF2E
tetradic
#2E2FBF #BF2E78 #BFBE2E #2EBF76
square
#2E2FBF #BF2E78 #BFBE2E #2EBF76
split-complementary
#2E2FBF #BF762E #78BF2E
monochromatic
#16175C #22238E #2E2FBF #5455D6 #8686E2

Accessibility & contrast

On white

9.23
#2E2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E2FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FBF
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FBF#FFFFFF#000000##FFFFFF
##2E2FBF1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC3
Deuteranopia (green-blind)
#0040BC
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e2fbf;
/* rgb */ color: rgb(46, 47, 191);
/* oklch */ color: oklch(42.0% 0.215 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f6ad4',
    500: '#2e2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fbf;
$custom-light: #7f6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fbf",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 239.586,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41988,
    "c": 0.21522,
    "h": 272
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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