#2B28AD#2B28AD

#2B28AD is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.201 H 272.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2B28AD
RGBrgb(43, 40, 173)
HSLhsl(241, 62%, 42%)
HSVhsv(241, 77%, 68%)
CMYKcmyk(75.1%, 76.9%, 0%, 32.2%)
CIE-LABlab(26.87, 45.58, -69.34)
CIE-LCHlch(26.87, 82.98, 303.32°)
OKLaboklab(38.92% 0.0102 -0.2007)
OKLCHoklch(38.92% 0.201 272.9)
XYZxyz(9.2954, 5.0473, 40.0114)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28AD #AAAD28
analogous
#2868AD #2B28AD #6D28AD
triadic
#2B28AD #AD2B28 #28AD2B
tetradic
#2B28AD #AD2868 #AAAD28 #28AD6D
square
#2B28AD #AD2868 #AAAD28 #28AD6D
split-complementary
#2B28AD #AD6D28 #68AD28
monochromatic
#12114A #1F1D7B #2B28AD #433FD3 #7471DE

Accessibility & contrast

On white

10.45
#2B28AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B28AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28AD
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28AD#FFFFFF#000000##FFFFFF
##2B28AD1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b28ad;
/* rgb */ color: rgb(43, 40, 173);
/* oklch */ color: oklch(38.9% 0.201 272.9);
Tailwind
colors: {
  custom: {
    50: '#7a64c7',
    500: '#2b28ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b28ad;
$custom-light: #7a64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28ad",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 241.353,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38918,
    "c": 0.20092,
    "h": 272.9
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#2B28AD
secondary
#C3C56C
accent
#E642E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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