#2B23C1#2B23C1

#2B23C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.228 H 271.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2B23C1
RGBrgb(43, 35, 193)
HSLhsl(243, 69%, 45%)
HSVhsv(243, 82%, 76%)
CMYKcmyk(77.7%, 81.9%, 0%, 24.3%)
CIE-LABlab(28.29, 54.38, -78.89)
CIE-LCHlch(28.29, 95.82, 304.58°)
OKLaboklab(40.57% 0.0073 -0.2283)
OKLCHoklch(40.57% 0.228 271.8)
XYZxyz(11.2197, 5.5647, 50.9245)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23C1 #B9C123
analogous
#236AC1 #2B23C1 #7A23C1
triadic
#2B23C1 #C12B23 #23C12B
tetradic
#2B23C1 #C1236A #B9C123 #23C17A
square
#2B23C1 #C1236A #B9C123 #23C17A
split-complementary
#2B23C1 #C17A23 #6AC123
monochromatic
#141059 #1F1A8D #2B23C1 #4C44DD #7E78E6

Accessibility & contrast

On white

9.94
#2B23C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B23C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B23C1
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23C1#FFFFFF#000000##FFFFFF
##2B23C11.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b23c1;
/* rgb */ color: rgb(43, 35, 193);
/* oklch */ color: oklch(40.6% 0.228 271.8);
Tailwind
colors: {
  custom: {
    50: '#8063d5',
    500: '#2b23c1',
    950: '#000000',
  },
}
SCSS
$custom: #2b23c1;
$custom-light: #8063d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23c1",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 243.038,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40571,
    "c": 0.2284,
    "h": 271.8
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#2B23C1
secondary
#C9CE72
accent
#EC3CE3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2B23C1

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

Preview Lab → · Contrast checker → · Palette generator →

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