#2B28A9#2B28A9

#2B28A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.196 H 273.2°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2B28A9
RGBrgb(43, 40, 169)
HSLhsl(241, 62%, 41%)
HSVhsv(241, 76%, 66%)
CMYKcmyk(74.6%, 76.3%, 0%, 33.7%)
CIE-LABlab(26.43, 44.27, -67.66)
CIE-LCHlch(26.43, 80.85, 303.20°)
OKLaboklab(38.48% 0.011 -0.1958)
OKLCHoklch(38.48% 0.196 273.2)
XYZxyz(8.9141, 4.8948, 38.0034)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28A9 #A6A928
analogous
#2865A9 #2B28A9 #6B28A9
triadic
#2B28A9 #A92B28 #28A92B
tetradic
#2B28A9 #A92865 #A6A928 #28A96B
square
#2B28A9 #A92865 #A6A928 #28A96B
split-complementary
#2B28A9 #A96B28 #65A928
monochromatic
#121146 #1E1C78 #2B28A9 #413DD1 #716FDD

Accessibility & contrast

On white

10.61
#2B28A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B28A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28A9
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28A9#FFFFFF#000000##FFFFFF
##2B28A91.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b28a9;
/* rgb */ color: rgb(43, 40, 169);
/* oklch */ color: oklch(38.5% 0.196 273.2);
Tailwind
colors: {
  custom: {
    50: '#7964c4',
    500: '#2b28a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b28a9;
$custom-light: #7964c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28a9",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 241.395,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38481,
    "c": 0.19607,
    "h": 273.2
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#2B28A9
secondary
#C1C469
accent
#E543E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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