#2E23D4#2E23D4

#2E23D4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.9% C 0.249 H 271.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2E23D4
RGBrgb(46, 35, 212)
HSLhsl(244, 72%, 48%)
HSVhsv(244, 83%, 83%)
CMYKcmyk(78.3%, 83.5%, 0%, 16.9%)
CIE-LABlab(30.72, 60.17, -85.94)
CIE-LCHlch(30.72, 104.91, 305.00°)
OKLaboklab(42.95% 0.0063 -0.2486)
OKLCHoklch(42.95% 0.249 271.5)
XYZxyz(13.6074, 6.5348, 62.8188)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E23D4 #C9D423
analogous
#2370D4 #2E23D4 #8623D4
triadic
#2E23D4 #D42E23 #23D42E
tetradic
#2E23D4 #D42370 #C9D423 #23D486
square
#2E23D4 #D42370 #C9D423 #23D486
split-complementary
#2E23D4 #D48623 #70D423
monochromatic
#17126B #231A9F #2E23D4 #5B52E2 #8D86EB

Accessibility & contrast

On white

9.10
#2E23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E23D4
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E23D4#FFFFFF#000000##FFFFFF
##2E23D41.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D9
Deuteranopia (green-blind)
#003FD1
Tritanopia (blue-blind)
#005D7F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e23d4;
/* rgb */ color: rgb(46, 35, 212);
/* oklch */ color: oklch(42.9% 0.249 271.5);
Tailwind
colors: {
  custom: {
    50: '#8564e3',
    500: '#2e23d4',
    950: '#000000',
  },
}
SCSS
$custom: #2e23d4;
$custom-light: #8564e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e23d4",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 243.729,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42948,
    "c": 0.24871,
    "h": 271.5
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#2E23D4
secondary
#CFD47E
accent
#EE39E3
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2E23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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