#2B1EA9#2B1EA9

#2B1EA9 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.205 H 274.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2B1EA9
RGBrgb(43, 30, 169)
HSLhsl(246, 70%, 39%)
HSVhsv(246, 82%, 66%)
CMYKcmyk(74.6%, 82.2%, 0%, 33.7%)
CIE-LABlab(24.66, 49.39, -70.59)
CIE-LCHlch(24.66, 86.16, 304.98°)
OKLaboklab(37.24% 0.0148 -0.2042)
OKLCHoklch(37.24% 0.205 274.2)
XYZxyz(8.6196, 4.3058, 37.9053)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1EA9 #9CA91E
analogous
#1E56A9 #2B1EA9 #711EA9
triadic
#2B1EA9 #A92B1E #1EA92B
tetradic
#2B1EA9 #A91E56 #9CA91E #1EA971
square
#2B1EA9 #A91E56 #9CA91E #1EA971
split-complementary
#2B1EA9 #A9711E #56A91E
monochromatic
#110C41 #1E1575 #2B1EA9 #3B2BD9 #6B5FE3

Accessibility & contrast

On white

11.28
#2B1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1EA9
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1EA9#FFFFFF#000000##FFFFFF
##2B1EA91.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0034A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b1ea9;
/* rgb */ color: rgb(43, 30, 169);
/* oklch */ color: oklch(37.2% 0.205 274.2);
Tailwind
colors: {
  custom: {
    50: '#7a5ec4',
    500: '#2b1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ea9;
$custom-light: #7a5ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ea9",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 245.612,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3724,
    "c": 0.2047,
    "h": 274.2
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#2B1EA9
secondary
#BDC75C
accent
#ED3BDC
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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