#2E2FBC#2E2FBC

#2E2FBC is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.212 H 272.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2E2FBC
RGBrgb(46, 47, 188)
HSLhsl(240, 61%, 46%)
HSVhsv(240, 76%, 74%)
CMYKcmyk(75.5%, 75%, 0%, 26.3%)
CIE-LABlab(30.02, 46.90, -73.06)
CIE-LCHlch(30.02, 86.82, 302.70°)
OKLaboklab(41.67% 0.0079 -0.2115)
OKLCHoklch(41.67% 0.212 272.1)
XYZxyz(11.2173, 6.2435, 48.1811)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FBC #BCBB2E
analogous
#2E76BC #2E2FBC #742EBC
triadic
#2E2FBC #BC2E2F #2FBC2E
tetradic
#2E2FBC #BC2E76 #BCBB2E #2EBC74
square
#2E2FBC #BC2E76 #BCBB2E #2EBC74
split-complementary
#2E2FBC #BC742E #76BC2E
monochromatic
#16165A #22238B #2E2FBC #5253D5 #8484E1

Accessibility & contrast

On white

9.34
#2E2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E2FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FBC
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FBC#FFFFFF#000000##FFFFFF
##2E2FBC1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e2fbc;
/* rgb */ color: rgb(46, 47, 188);
/* oklch */ color: oklch(41.7% 0.212 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e69d2',
    500: '#2e2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fbc;
$custom-light: #7e69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fbc",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 239.577,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.21163,
    "h": 272.1
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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