#2B28AE#2B28AE

#2B28AE is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.202 H 272.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2B28AE
RGBrgb(43, 40, 174)
HSLhsl(241, 63%, 42%)
HSVhsv(241, 77%, 68%)
CMYKcmyk(75.3%, 77%, 0%, 31.8%)
CIE-LABlab(26.98, 45.91, -69.76)
CIE-LCHlch(26.98, 83.51, 303.35°)
OKLaboklab(39.03% 0.01 -0.2019)
OKLCHoklch(39.03% 0.202 272.8)
XYZxyz(9.3925, 5.0862, 40.5229)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28AE #ABAE28
analogous
#2868AE #2B28AE #6E28AE
triadic
#2B28AE #AE2B28 #28AE2B
tetradic
#2B28AE #AE2868 #ABAE28 #28AE6E
square
#2B28AE #AE2868 #ABAE28 #28AE6E
split-complementary
#2B28AE #AE6E28 #68AE28
monochromatic
#12114A #1F1D7C #2B28AE #4340D3 #7472DF

Accessibility & contrast

On white

10.41
#2B28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28AE
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28AE#FFFFFF#000000##FFFFFF
##2B28AE1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b28ae;
/* rgb */ color: rgb(43, 40, 174);
/* oklch */ color: oklch(39.0% 0.202 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b64c7',
    500: '#2b28ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b28ae;
$custom-light: #7b64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28ae",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 241.343,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.20213,
    "h": 272.8
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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