#2B23AD#2B23AD

#2B23AD is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.205 H 273.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2B23AD
RGBrgb(43, 35, 173)
HSLhsl(243, 66%, 41%)
HSVhsv(243, 80%, 68%)
CMYKcmyk(75.1%, 79.8%, 0%, 32.2%)
CIE-LABlab(25.96, 48.20, -70.85)
CIE-LCHlch(25.96, 85.70, 304.23°)
OKLaboklab(38.28% 0.0121 -0.205)
OKLCHoklch(38.28% 0.205 273.4)
XYZxyz(9.1376, 4.7318, 39.9588)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23AD #A5AD23
analogous
#2360AD #2B23AD #7023AD
triadic
#2B23AD #AD2B23 #23AD2B
tetradic
#2B23AD #AD2360 #A5AD23 #23AD70
square
#2B23AD #AD2360 #A5AD23 #23AD70
split-complementary
#2B23AD #AD7023 #60AD23
monochromatic
#120E47 #1E197A #2B23AD #4037D6 #716AE1

Accessibility & contrast

On white

10.79
#2B23AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B23AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B23AD
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23AD#FFFFFF#000000##FFFFFF
##2B23AD1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#0037AB
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b23ad;
/* rgb */ color: rgb(43, 35, 173);
/* oklch */ color: oklch(38.3% 0.205 273.4);
Tailwind
colors: {
  custom: {
    50: '#7b61c7',
    500: '#2b23ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b23ad;
$custom-light: #7b61c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23ad",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 243.478,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38278,
    "c": 0.20534,
    "h": 273.4
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#2B23AD
secondary
#C1C765
accent
#E93FDF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B23AD

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

Preview Lab → · Contrast checker → · Palette generator →

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