#2B23AA#2B23AA

#2B23AA is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.202 H 273.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2B23AA
RGBrgb(43, 35, 170)
HSLhsl(244, 66%, 40%)
HSVhsv(244, 79%, 67%)
CMYKcmyk(74.7%, 79.4%, 0%, 33.3%)
CIE-LABlab(25.61, 47.26, -69.61)
CIE-LCHlch(25.61, 84.14, 304.17°)
OKLaboklab(37.94% 0.0128 -0.2014)
OKLCHoklch(37.94% 0.202 273.6)
XYZxyz(8.8506, 4.6170, 38.4471)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23AA #A2AA23
analogous
#235EAA #2B23AA #6F23AA
triadic
#2B23AA #AA2B23 #23AA2B
tetradic
#2B23AA #AA235E #A2AA23 #23AA6F
square
#2B23AA #AA235E #A2AA23 #23AA6F
split-complementary
#2B23AA #AA6F23 #5EAA23
monochromatic
#110E44 #1E1977 #2B23AA #3E35D5 #6F68E0

Accessibility & contrast

On white

10.92
#2B23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B23AA
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23AA#FFFFFF#000000##FFFFFF
##2B23AA1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b23aa;
/* rgb */ color: rgb(43, 35, 170);
/* oklch */ color: oklch(37.9% 0.202 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a61c5',
    500: '#2b23aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b23aa;
$custom-light: #7a61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23aa",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 243.556,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37939,
    "c": 0.2018,
    "h": 273.6
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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