#2D23A3#2D23A3

#2D23A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.193 H 275.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2D23A3
RGBrgb(45, 35, 163)
HSLhsl(245, 65%, 39%)
HSVhsv(245, 79%, 64%)
CMYKcmyk(72.4%, 78.5%, 0%, 36.1%)
CIE-LABlab(24.96, 45.19, -66.45)
CIE-LCHlch(24.96, 80.36, 304.22°)
OKLaboklab(37.29% 0.0171 -0.1922)
OKLCHoklch(37.29% 0.193 275.1)
XYZxyz(8.2919, 4.4035, 35.0562)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D23A3 #99A323
analogous
#2359A3 #2D23A3 #6D23A3
triadic
#2D23A3 #A32D23 #23A32D
tetradic
#2D23A3 #A32359 #99A323 #23A36D
square
#2D23A3 #A32359 #99A323 #23A36D
split-complementary
#2D23A3 #A36D23 #59A323
monochromatic
#110D3E #1F1871 #2D23A3 #3D31D3 #6C63DD

Accessibility & contrast

On white

11.17
#2D23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D23A3
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D23A3#FFFFFF#000000##FFFFFF
##2D23A31.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d23a3;
/* rgb */ color: rgb(45, 35, 163);
/* oklch */ color: oklch(37.3% 0.193 275.1);
Tailwind
colors: {
  custom: {
    50: '#7961c0',
    500: '#2d23a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d23a3;
$custom-light: #7961c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d23a3",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 244.688,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37288,
    "c": 0.19292,
    "h": 275.1
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#2D23A3
secondary
#BBC35F
accent
#E840DB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2D23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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