#2B23A1#2B23A1

#2B23A1 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.191 H 274.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2B23A1
RGBrgb(43, 35, 161)
HSLhsl(244, 64%, 38%)
HSVhsv(244, 78%, 63%)
CMYKcmyk(73.3%, 78.3%, 0%, 36.9%)
CIE-LABlab(24.60, 44.37, -65.84)
CIE-LCHlch(24.60, 79.39, 303.98°)
OKLaboklab(36.93% 0.0149 -0.1904)
OKLCHoklch(36.93% 0.191 274.5)
XYZxyz(8.0282, 4.2881, 34.1159)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B23A1 #99A123
analogous
#235AA1 #2B23A1 #6A23A1
triadic
#2B23A1 #A12B23 #23A12B
tetradic
#2B23A1 #A1235A #99A123 #23A16A
square
#2B23A1 #A1235A #99A123 #23A16A
split-complementary
#2B23A1 #A16A23 #5AA123
monochromatic
#100D3C #1E186F #2B23A1 #3A2FD2 #6962DD

Accessibility & contrast

On white

11.30
#2B23A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B23A1
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B23A1#FFFFFF#000000##FFFFFF
##2B23A11.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b23a1;
/* rgb */ color: rgb(43, 35, 161);
/* oklch */ color: oklch(36.9% 0.191 274.5);
Tailwind
colors: {
  custom: {
    50: '#7861be',
    500: '#2b23a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b23a1;
$custom-light: #7861be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b23a1",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 243.81,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36933,
    "c": 0.191,
    "h": 274.5
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B23A1

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

Preview Lab → · Contrast checker → · Palette generator →

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