#2E23AE#2E23AE

#2E23AE is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.206 H 274.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2E23AE
RGBrgb(46, 35, 174)
HSLhsl(245, 67%, 41%)
HSVhsv(245, 80%, 68%)
CMYKcmyk(73.6%, 79.9%, 0%, 31.8%)
CIE-LABlab(26.27, 48.75, -70.93)
CIE-LCHlch(26.27, 86.07, 304.50°)
OKLaboklab(38.58% 0.0157 -0.2051)
OKLCHoklch(38.58% 0.206 274.4)
XYZxyz(9.3652, 4.8380, 40.4765)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E23AE #A3AE23
analogous
#235DAE #2E23AE #7323AE
triadic
#2E23AE #AE2E23 #23AE2E
tetradic
#2E23AE #AE235D #A3AE23 #23AE73
square
#2E23AE #AE235D #A3AE23 #23AE73
split-complementary
#2E23AE #AE7323 #5DAE23
monochromatic
#130F48 #21197B #2E23AE #4437D7 #746AE1

Accessibility & contrast

On white

10.67
#2E23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E23AE
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E23AE#FFFFFF#000000##FFFFFF
##2E23AE1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e23ae;
/* rgb */ color: rgb(46, 35, 174);
/* oklch */ color: oklch(38.6% 0.206 274.4);
Tailwind
colors: {
  custom: {
    50: '#7c62c8',
    500: '#2e23ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e23ae;
$custom-light: #7c62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e23ae",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 244.748,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3858,
    "c": 0.20575,
    "h": 274.4
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#2E23AE
secondary
#BFC766
accent
#E93EDC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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