#2E23B0#2E23B0

#2E23B0 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.208 H 274.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2E23B0
RGBrgb(46, 35, 176)
HSLhsl(245, 67%, 41%)
HSVhsv(245, 80%, 69%)
CMYKcmyk(73.9%, 80.1%, 0%, 31%)
CIE-LABlab(26.50, 49.37, -71.75)
CIE-LCHlch(26.50, 87.10, 304.53°)
OKLaboklab(38.81% 0.0152 -0.2075)
OKLCHoklch(38.81% 0.208 274.2)
XYZxyz(9.5616, 4.9165, 41.5110)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E23B0 #A5B023
analogous
#235FB0 #2E23B0 #7523B0
triadic
#2E23B0 #B02E23 #23B02E
tetradic
#2E23B0 #B0235F #A5B023 #23B075
square
#2E23B0 #B0235F #A5B023 #23B075
split-complementary
#2E23B0 #B07523 #5FB023
monochromatic
#130F4A #21197D #2E23B0 #4539D8 #756CE2

Accessibility & contrast

On white

10.59
#2E23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E23B0
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E23B0#FFFFFF#000000##FFFFFF
##2E23B01.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0038AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e23b0;
/* rgb */ color: rgb(46, 35, 176);
/* oklch */ color: oklch(38.8% 0.208 274.2);
Tailwind
colors: {
  custom: {
    50: '#7c62c9',
    500: '#2e23b0',
    950: '#000000',
  },
}
SCSS
$custom: #2e23b0;
$custom-light: #7c62c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e23b0",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 244.681,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.20809,
    "h": 274.2
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#2E23B0
secondary
#C0C867
accent
#EA3EDC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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