#2B28B5#2B28B5

#2B28B5 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.210 H 272.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2B28B5
RGBrgb(43, 40, 181)
HSLhsl(241, 64%, 43%)
HSVhsv(241, 78%, 71%)
CMYKcmyk(76.2%, 77.9%, 0%, 29%)
CIE-LABlab(27.75, 48.18, -72.66)
CIE-LCHlch(27.75, 87.18, 303.54°)
OKLaboklab(39.8% 0.0085 -0.2103)
OKLCHoklch(39.8% 0.21 272.3)
XYZxyz(10.0927, 5.3663, 44.2110)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28B5 #B2B528
analogous
#286BB5 #2B28B5 #7228B5
triadic
#2B28B5 #B52B28 #28B52B
tetradic
#2B28B5 #B5286B #B2B528 #28B572
square
#2B28B5 #B5286B #B2B528 #28B572
split-complementary
#2B28B5 #B57228 #6BB528
monochromatic
#131251 #1F1D83 #2B28B5 #4844D6 #7977E1

Accessibility & contrast

On white

10.13
#2B28B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B28B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28B5
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28B5#FFFFFF#000000##FFFFFF
##2B28B51.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B9
Deuteranopia (green-blind)
#003AB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b28b5;
/* rgb */ color: rgb(43, 40, 181);
/* oklch */ color: oklch(39.8% 0.210 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c65cd',
    500: '#2b28b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b28b5;
$custom-light: #7c65cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28b5",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 241.277,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.398,
    "c": 0.21048,
    "h": 272.3
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#2B28B5
secondary
#C7C870
accent
#E741E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B28B5

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

Preview Lab → · Contrast checker → · Palette generator →

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