#2B28B3#2B28B3

#2B28B3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.208 H 272.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2B28B3
RGBrgb(43, 40, 179)
HSLhsl(241, 63%, 43%)
HSVhsv(241, 78%, 70%)
CMYKcmyk(76%, 77.7%, 0%, 29.8%)
CIE-LABlab(27.53, 47.53, -71.84)
CIE-LCHlch(27.53, 86.14, 303.49°)
OKLaboklab(39.58% 0.0089 -0.2079)
OKLCHoklch(39.58% 0.208 272.5)
XYZxyz(9.8890, 5.2848, 43.1380)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28B3 #B0B328
analogous
#286AB3 #2B28B3 #7028B3
triadic
#2B28B3 #B32B28 #28B32B
tetradic
#2B28B3 #B3286A #B0B328 #28B370
square
#2B28B3 #B3286A #B0B328 #28B370
split-complementary
#2B28B3 #B37028 #6AB328
monochromatic
#13124F #1F1D81 #2B28B3 #4643D5 #7875E0

Accessibility & contrast

On white

10.21
#2B28B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B28B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28B3
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28B3#FFFFFF#000000##FFFFFF
##2B28B31.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b28b3;
/* rgb */ color: rgb(43, 40, 179);
/* oklch */ color: oklch(39.6% 0.208 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c65cb',
    500: '#2b28b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b28b3;
$custom-light: #7c65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28b3",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 241.295,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.2081,
    "h": 272.5
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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