#2B28B4#2B28B4

#2B28B4 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.209 H 272.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2B28B4
RGBrgb(43, 40, 180)
HSLhsl(241, 64%, 43%)
HSVhsv(241, 78%, 71%)
CMYKcmyk(76.1%, 77.8%, 0%, 29.4%)
CIE-LABlab(27.64, 47.85, -72.25)
CIE-LCHlch(27.64, 86.66, 303.52°)
OKLaboklab(39.69% 0.0087 -0.2091)
OKLCHoklch(39.69% 0.209 272.4)
XYZxyz(9.9905, 5.3254, 43.6725)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28B4 #B1B428
analogous
#286BB4 #2B28B4 #7128B4
triadic
#2B28B4 #B42B28 #28B42B
tetradic
#2B28B4 #B4286B #B1B428 #28B471
square
#2B28B4 #B4286B #B1B428 #28B471
split-complementary
#2B28B4 #B47128 #6BB428
monochromatic
#131250 #1F1D82 #2B28B4 #4744D5 #7876E1

Accessibility & contrast

On white

10.17
#2B28B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B28B4
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28B4#FFFFFF#000000##FFFFFF
##2B28B41.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003AB2
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b28b4;
/* rgb */ color: rgb(43, 40, 180);
/* oklch */ color: oklch(39.7% 0.209 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c65cc',
    500: '#2b28b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b28b4;
$custom-light: #7c65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28b4",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 241.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39689,
    "c": 0.20929,
    "h": 272.4
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#2B28B4
secondary
#C6C870
accent
#E741E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B28B4

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

Preview Lab → · Contrast checker → · Palette generator →

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