#2B23A4#2B23A4

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

Color values

HEX#2B23A4
RGBrgb(43, 35, 164)
HSLhsl(244, 65%, 39%)
HSVhsv(244, 79%, 64%)
CMYKcmyk(73.8%, 78.7%, 0%, 35.7%)
CIE-LABlab(24.94, 45.34, -67.11)
CIE-LCHlch(24.94, 80.99, 304.04°)
OKLaboklab(37.27% 0.0142 -0.1941)
OKLCHoklch(37.27% 0.195 274.2)
XYZxyz(8.2959, 4.3952, 35.5259)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23A4 #9CA423
analogous
#235CA4 #2B23A4 #6C23A4
triadic
#2B23A4 #A42B23 #23A42B
tetradic
#2B23A4 #A4235C #9CA423 #23A46C
square
#2B23A4 #A4235C #9CA423 #23A46C
split-complementary
#2B23A4 #A46C23 #5CA423
monochromatic
#110D3F #1E1872 #2B23A4 #3B31D3 #6B64DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B23A4#FFFFFF#000000##FFFFFF
##2B23A41.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)
#0041A8
Deuteranopia (green-blind)
#0035A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b23a4;
/* rgb */ color: rgb(43, 35, 164);
/* oklch */ color: oklch(37.3% 0.195 274.2);
Tailwind
colors: {
  custom: {
    50: '#7961c0',
    500: '#2b23a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b23a4;
$custom-light: #7961c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23a4",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 243.721,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.19463,
    "h": 274.2
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#2B23A4
secondary
#BDC360
accent
#E840DD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2B23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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