#2E23AA#2E23AA

#2E23AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.201 H 274.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2E23AA
RGBrgb(46, 35, 170)
HSLhsl(245, 66%, 40%)
HSVhsv(245, 79%, 67%)
CMYKcmyk(72.9%, 79.4%, 0%, 33.3%)
CIE-LABlab(25.82, 47.50, -69.27)
CIE-LCHlch(25.82, 83.99, 304.44°)
OKLaboklab(38.13% 0.0167 -0.2003)
OKLCHoklch(38.13% 0.201 274.8)
XYZxyz(8.9810, 4.6843, 38.4533)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E23AA #9FAA23
analogous
#235BAA #2E23AA #7223AA
triadic
#2E23AA #AA2E23 #23AA2E
tetradic
#2E23AA #AA235B #9FAA23 #23AA72
square
#2E23AA #AA235B #9FAA23 #23AA72
split-complementary
#2E23AA #AA7223 #5BAA23
monochromatic
#130E44 #201977 #2E23AA #4235D5 #7168E0

Accessibility & contrast

On white

10.84
#2E23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E23AA
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E23AA#FFFFFF#000000##FFFFFF
##2E23AA1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e23aa;
/* rgb */ color: rgb(46, 35, 170);
/* oklch */ color: oklch(38.1% 0.201 274.8);
Tailwind
colors: {
  custom: {
    50: '#7b61c5',
    500: '#2e23aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e23aa;
$custom-light: #7b61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e23aa",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 244.889,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38133,
    "c": 0.20103,
    "h": 274.8
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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