#2D23A9#2D23A9

#2D23A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.200 H 274.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2D23A9
RGBrgb(45, 35, 169)
HSLhsl(244, 66%, 40%)
HSVhsv(244, 79%, 66%)
CMYKcmyk(73.4%, 79.3%, 0%, 33.7%)
CIE-LABlab(25.63, 47.10, -68.97)
CIE-LCHlch(25.63, 83.52, 304.33°)
OKLaboklab(37.96% 0.0156 -0.1995)
OKLCHoklch(37.96% 0.2 274.5)
XYZxyz(8.8423, 4.6236, 37.9549)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D23A9 #9FA923
analogous
#235CA9 #2D23A9 #7023A9
triadic
#2D23A9 #A92D23 #23A92D
tetradic
#2D23A9 #A9235C #9FA923 #23A970
square
#2D23A9 #A9235C #9FA923 #23A970
split-complementary
#2D23A9 #A97023 #5CA923
monochromatic
#120E44 #201976 #2D23A9 #4034D5 #7067DF

Accessibility & contrast

On white

10.91
#2D23A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D23A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D23A9
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D23A9#FFFFFF#000000##FFFFFF
##2D23A91.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d23a9;
/* rgb */ color: rgb(45, 35, 169);
/* oklch */ color: oklch(38.0% 0.200 274.5);
Tailwind
colors: {
  custom: {
    50: '#7a61c4',
    500: '#2d23a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d23a9;
$custom-light: #7a61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d23a9",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 244.478,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.37955,
    "c": 0.2001,
    "h": 274.5
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#2D23A9
secondary
#BEC563
accent
#E93FDC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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