#2B28B2#2B28B2

#2B28B2 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.5% C 0.207 H 272.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2B28B2
RGBrgb(43, 40, 178)
HSLhsl(241, 63%, 43%)
HSVhsv(241, 78%, 70%)
CMYKcmyk(75.8%, 77.5%, 0%, 30.2%)
CIE-LABlab(27.42, 47.21, -71.42)
CIE-LCHlch(27.42, 85.62, 303.46°)
OKLaboklab(39.47% 0.0091 -0.2067)
OKLCHoklch(39.47% 0.207 272.5)
XYZxyz(9.7882, 5.2445, 42.6073)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28B2 #AFB228
analogous
#286AB2 #2B28B2 #7028B2
triadic
#2B28B2 #B22B28 #28B22B
tetradic
#2B28B2 #B2286A #AFB228 #28B270
square
#2B28B2 #B2286A #AFB228 #28B270
split-complementary
#2B28B2 #B27028 #6AB228
monochromatic
#13124E #1F1D80 #2B28B2 #4643D5 #7775E0

Accessibility & contrast

On white

10.25
#2B28B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B28B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28B2
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28B2#FFFFFF#000000##FFFFFF
##2B28B21.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003AB0
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b28b2;
/* rgb */ color: rgb(43, 40, 178);
/* oklch */ color: oklch(39.5% 0.207 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b65ca',
    500: '#2b28b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b28b2;
$custom-light: #7b65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28b2",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 241.304,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39468,
    "c": 0.20691,
    "h": 272.5
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#2B28B2
secondary
#C5C76F
accent
#E641E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B28B2

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

Preview Lab → · Contrast checker → · Palette generator →

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