#2B28B1#2B28B1

#2B28B1 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.206 H 272.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2B28B1
RGBrgb(43, 40, 177)
HSLhsl(241, 63%, 43%)
HSVhsv(241, 77%, 69%)
CMYKcmyk(75.7%, 77.4%, 0%, 30.6%)
CIE-LABlab(27.31, 46.88, -71.01)
CIE-LCHlch(27.31, 85.09, 303.43°)
OKLaboklab(39.36% 0.0093 -0.2055)
OKLCHoklch(39.36% 0.206 272.6)
XYZxyz(9.6882, 5.2045, 42.0804)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28B1 #AEB128
analogous
#2869B1 #2B28B1 #7028B1
triadic
#2B28B1 #B12B28 #28B12B
tetradic
#2B28B1 #B12869 #AEB128 #28B170
square
#2B28B1 #B12869 #AEB128 #28B170
split-complementary
#2B28B1 #B17028 #69B128
monochromatic
#13114D #1F1D7F #2B28B1 #4542D4 #7674E0

Accessibility & contrast

On white

10.29
#2B28B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B28B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28B1
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28B1#FFFFFF#000000##FFFFFF
##2B28B11.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b28b1;
/* rgb */ color: rgb(43, 40, 177);
/* oklch */ color: oklch(39.4% 0.206 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b65ca',
    500: '#2b28b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b28b1;
$custom-light: #7b65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28b1",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 241.314,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39357,
    "c": 0.20572,
    "h": 272.6
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#2B28B1
secondary
#C5C76E
accent
#E642E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B28B1

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

Preview Lab → · Contrast checker → · Palette generator →

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