#2E23AC#2E23AC

#2E23AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.203 H 274.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2E23AC
RGBrgb(46, 35, 172)
HSLhsl(245, 66%, 41%)
HSVhsv(245, 80%, 67%)
CMYKcmyk(73.3%, 79.7%, 0%, 32.5%)
CIE-LABlab(26.04, 48.12, -70.10)
CIE-LCHlch(26.04, 85.03, 304.47°)
OKLaboklab(38.36% 0.0162 -0.2028)
OKLCHoklch(38.36% 0.203 274.6)
XYZxyz(9.1717, 4.7606, 39.4572)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E23AC #A1AC23
analogous
#235CAC #2E23AC #7323AC
triadic
#2E23AC #AC2E23 #23AC2E
tetradic
#2E23AC #AC235C #A1AC23 #23AC73
square
#2E23AC #AC235C #A1AC23 #23AC73
split-complementary
#2E23AC #AC7323 #5CAC23
monochromatic
#130E46 #201979 #2E23AC #4336D6 #7369E0

Accessibility & contrast

On white

10.76
#2E23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E23AC
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E23AC#FFFFFF#000000##FFFFFF
##2E23AC1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e23ac;
/* rgb */ color: rgb(46, 35, 172);
/* oklch */ color: oklch(38.4% 0.203 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c62c6',
    500: '#2e23ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e23ac;
$custom-light: #7c62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e23ac",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 244.818,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.20339,
    "h": 274.6
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#2E23AC
secondary
#BEC664
accent
#E93FDB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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