#2B23AC#2B23AC

#2B23AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.204 H 273.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2B23AC
RGBrgb(43, 35, 172)
HSLhsl(244, 66%, 41%)
HSVhsv(244, 80%, 67%)
CMYKcmyk(75%, 79.7%, 0%, 32.5%)
CIE-LABlab(25.84, 47.89, -70.44)
CIE-LCHlch(25.84, 85.18, 304.21°)
OKLaboklab(38.17% 0.0123 -0.2038)
OKLCHoklch(38.17% 0.204 273.5)
XYZxyz(9.0412, 4.6933, 39.4511)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23AC #A4AC23
analogous
#235FAC #2B23AC #7023AC
triadic
#2B23AC #AC2B23 #23AC2B
tetradic
#2B23AC #AC235F #A4AC23 #23AC70
square
#2B23AC #AC235F #A4AC23 #23AC70
split-complementary
#2B23AC #AC7023 #5FAC23
monochromatic
#120E46 #1E1979 #2B23AC #3F36D6 #7069E0

Accessibility & contrast

On white

10.83
#2B23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B23AC
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23AC#FFFFFF#000000##FFFFFF
##2B23AC1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b23ac;
/* rgb */ color: rgb(43, 35, 172);
/* oklch */ color: oklch(38.2% 0.204 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a61c6',
    500: '#2b23ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b23ac;
$custom-light: #7a61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23ac",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 243.504,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.20416,
    "h": 273.5
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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