#2B28B8#2B28B8

#2B28B8 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.214 H 272.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2B28B8
RGBrgb(43, 40, 184)
HSLhsl(241, 64%, 44%)
HSVhsv(241, 78%, 72%)
CMYKcmyk(76.6%, 78.3%, 0%, 27.8%)
CIE-LABlab(28.09, 49.14, -73.89)
CIE-LCHlch(28.09, 88.74, 303.62°)
OKLaboklab(40.13% 0.0079 -0.2139)
OKLCHoklch(40.13% 0.214 272.1)
XYZxyz(10.4039, 5.4907, 45.8496)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28B8 #B5B828
analogous
#286DB8 #2B28B8 #7328B8
triadic
#2B28B8 #B82B28 #28B82B
tetradic
#2B28B8 #B8286D #B5B828 #28B873
square
#2B28B8 #B8286D #B5B828 #28B873
split-complementary
#2B28B8 #B87328 #6DB828
monochromatic
#141253 #1F1D86 #2B28B8 #4946D7 #7B79E2

Accessibility & contrast

On white

10.01
#2B28B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B28B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28B8
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28B8#FFFFFF#000000##FFFFFF
##2B28B81.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BC
Deuteranopia (green-blind)
#003BB6
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b28b8;
/* rgb */ color: rgb(43, 40, 184);
/* oklch */ color: oklch(40.1% 0.214 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d65cf',
    500: '#2b28b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b28b8;
$custom-light: #7d65cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28b8",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 241.25,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40133,
    "c": 0.21401,
    "h": 272.1
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#2B28B8
secondary
#C8CA72
accent
#E741E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2B28B8

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

Preview Lab → · Contrast checker → · Palette generator →

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