#2E23AF#2E23AF

#2E23AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.207 H 274.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2E23AF
RGBrgb(46, 35, 175)
HSLhsl(245, 67%, 41%)
HSVhsv(245, 80%, 69%)
CMYKcmyk(73.7%, 80%, 0%, 31.4%)
CIE-LABlab(26.38, 49.06, -71.34)
CIE-LCHlch(26.38, 86.58, 304.52°)
OKLaboklab(38.69% 0.0154 -0.2063)
OKLCHoklch(38.69% 0.207 274.3)
XYZxyz(9.4630, 4.8771, 40.9918)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E23AF #A4AF23
analogous
#235EAF #2E23AF #7423AF
triadic
#2E23AF #AF2E23 #23AF2E
tetradic
#2E23AF #AF235E #A4AF23 #23AF74
square
#2E23AF #AF235E #A4AF23 #23AF74
split-complementary
#2E23AF #AF7423 #5EAF23
monochromatic
#130F49 #21197C #2E23AF #4538D7 #746BE1

Accessibility & contrast

On white

10.63
#2E23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E23AF
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E23AF#FFFFFF#000000##FFFFFF
##2E23AF1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e23af;
/* rgb */ color: rgb(46, 35, 175);
/* oklch */ color: oklch(38.7% 0.207 274.3);
Tailwind
colors: {
  custom: {
    50: '#7c62c8',
    500: '#2e23af',
    950: '#000000',
  },
}
SCSS
$custom: #2e23af;
$custom-light: #7c62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e23af",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 244.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38693,
    "c": 0.20692,
    "h": 274.3
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#2E23AF
secondary
#C0C766
accent
#EA3EDC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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