#2E23BB#2E23BB

#2E23BB is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.221 H 273.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2E23BB
RGBrgb(46, 35, 187)
HSLhsl(244, 68%, 44%)
HSVhsv(244, 81%, 73%)
CMYKcmyk(75.4%, 81.3%, 0%, 26.7%)
CIE-LABlab(27.76, 52.75, -76.21)
CIE-LCHlch(27.76, 92.68, 304.69°)
OKLaboklab(40.05% 0.0124 -0.2204)
OKLCHoklch(40.05% 0.221 273.2)
XYZxyz(10.6944, 5.3696, 47.4769)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E23BB #B0BB23
analogous
#2364BB #2E23BB #7A23BB
triadic
#2E23BB #BB2E23 #23BB2E
tetradic
#2E23BB #BB2364 #B0BB23 #23BB7A
square
#2E23BB #BB2364 #B0BB23 #23BB7A
split-complementary
#2E23BB #BB7A23 #64BB23
monochromatic
#151054 #211987 #2E23BB #4B40DB #7C74E5

Accessibility & contrast

On white

10.12
#2E23BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E23BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E23BB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E23BB#FFFFFF#000000##FFFFFF
##2E23BB1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003AB8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e23bb;
/* rgb */ color: rgb(46, 35, 187);
/* oklch */ color: oklch(40.1% 0.221 273.2);
Tailwind
colors: {
  custom: {
    50: '#7f63d1',
    500: '#2e23bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e23bb;
$custom-light: #7f63d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e23bb",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 244.342,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40054,
    "c": 0.2208,
    "h": 273.2
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#2E23BB
secondary
#C5CC6E
accent
#EB3CDF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2E23BB

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

Preview Lab → · Contrast checker → · Palette generator →

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