#2E23B1#2E23B1

#2E23B1 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.209 H 274.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2E23B1
RGBrgb(46, 35, 177)
HSLhsl(245, 67%, 42%)
HSVhsv(245, 80%, 69%)
CMYKcmyk(74%, 80.2%, 0%, 30.6%)
CIE-LABlab(26.61, 49.68, -72.16)
CIE-LCHlch(26.61, 87.61, 304.55°)
OKLaboklab(38.92% 0.0149 -0.2087)
OKLCHoklch(38.92% 0.209 274.1)
XYZxyz(9.6609, 4.9563, 42.0340)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E23B1 #A6B123
analogous
#235FB1 #2E23B1 #7523B1
triadic
#2E23B1 #B12E23 #23B12E
tetradic
#2E23B1 #B1235F #A6B123 #23B175
square
#2E23B1 #B1235F #A6B123 #23B175
split-complementary
#2E23B1 #B17523 #5FB123
monochromatic
#130F4B #21197E #2E23B1 #4639D8 #766CE2

Accessibility & contrast

On white

10.55
#2E23B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E23B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E23B1
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E23B1#FFFFFF#000000##FFFFFF
##2E23B11.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e23b1;
/* rgb */ color: rgb(46, 35, 177);
/* oklch */ color: oklch(38.9% 0.209 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d62ca',
    500: '#2e23b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e23b1;
$custom-light: #7d62ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e23b1",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 244.648,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38918,
    "c": 0.20925,
    "h": 274.1
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#2E23B1
secondary
#C1C868
accent
#EA3EDD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E23B1

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

Preview Lab → · Contrast checker → · Palette generator →

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