#2D23D4#2D23D4

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

Color values

HEX#2D23D4
RGBrgb(45, 35, 212)
HSLhsl(243, 72%, 48%)
HSVhsv(243, 83%, 83%)
CMYKcmyk(78.8%, 83.5%, 0%, 16.9%)
CIE-LABlab(30.67, 60.12, -86.03)
CIE-LCHlch(30.67, 104.96, 304.95°)
OKLaboklab(42.9% 0.0052 -0.2489)
OKLCHoklch(42.9% 0.249 271.2)
XYZxyz(13.5629, 6.5119, 62.8167)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D23D4 #CAD423
analogous
#2371D4 #2D23D4 #8523D4
triadic
#2D23D4 #D42D23 #23D42D
tetradic
#2D23D4 #D42371 #CAD423 #23D485
square
#2D23D4 #D42371 #CAD423 #23D485
split-complementary
#2D23D4 #D48523 #71D423
monochromatic
#17126B #221A9F #2D23D4 #5A52E2 #8C86EB

Accessibility & contrast

On white

9.12
#2D23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D23D4
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D23D4#FFFFFF#000000##FFFFFF
##2D23D41.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d23d4;
/* rgb */ color: rgb(45, 35, 212);
/* oklch */ color: oklch(42.9% 0.249 271.2);
Tailwind
colors: {
  custom: {
    50: '#8564e3',
    500: '#2d23d4',
    950: '#000000',
  },
}
SCSS
$custom: #2d23d4;
$custom-light: #8564e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d23d4",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 243.39,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.24897,
    "h": 271.2
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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