#2B23A2#2B23A2

#2B23A2 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.192 H 274.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2B23A2
RGBrgb(43, 35, 162)
HSLhsl(244, 64%, 39%)
HSVhsv(244, 78%, 64%)
CMYKcmyk(73.5%, 78.4%, 0%, 36.5%)
CIE-LABlab(24.71, 44.69, -66.26)
CIE-LCHlch(24.71, 79.93, 304.00°)
OKLaboklab(37.04% 0.0147 -0.1917)
OKLCHoklch(37.04% 0.192 274.4)
XYZxyz(8.1167, 4.3235, 34.5822)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23A2 #9AA223
analogous
#235AA2 #2B23A2 #6A23A2
triadic
#2B23A2 #A22B23 #23A22B
tetradic
#2B23A2 #A2235A #9AA223 #23A26A
square
#2B23A2 #A2235A #9AA223 #23A26A
split-complementary
#2B23A2 #A26A23 #5AA223
monochromatic
#100D3D #1E1870 #2B23A2 #3A30D2 #6A62DD

Accessibility & contrast

On white

11.26
#2B23A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B23A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B23A2
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23A2#FFFFFF#000000##FFFFFF
##2B23A21.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b23a2;
/* rgb */ color: rgb(43, 35, 162);
/* oklch */ color: oklch(37.0% 0.192 274.4);
Tailwind
colors: {
  custom: {
    50: '#7861bf',
    500: '#2b23a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b23a2;
$custom-light: #7861bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23a2",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 243.78,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37044,
    "c": 0.19222,
    "h": 274.4
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#2B23A2
secondary
#BCC25E
accent
#E740DD
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B23A2

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

Preview Lab → · Contrast checker → · Palette generator →

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