#2B28A1#2B28A1

#2B28A1 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.186 H 273.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2B28A1
RGBrgb(43, 40, 161)
HSLhsl(241, 60%, 39%)
HSVhsv(241, 75%, 63%)
CMYKcmyk(73.3%, 75.2%, 0%, 36.9%)
CIE-LABlab(25.57, 41.61, -64.23)
CIE-LCHlch(25.57, 76.53, 302.93°)
OKLaboklab(37.62% 0.0125 -0.1858)
OKLCHoklch(37.62% 0.186 273.9)
XYZxyz(8.1859, 4.6036, 34.1685)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28A1 #9EA128
analogous
#2861A1 #2B28A1 #6828A1
triadic
#2B28A1 #A12B28 #28A12B
tetradic
#2B28A1 #A12861 #9EA128 #28A168
square
#2B28A1 #A12861 #9EA128 #28A168
split-complementary
#2B28A1 #A16828 #61A128
monochromatic
#11103F #1E1C70 #2B28A1 #3C39CE #6C6ADA

Accessibility & contrast

On white

10.93
#2B28A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B28A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28A1
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28A1#FFFFFF#000000##FFFFFF
##2B28A11.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b28a1;
/* rgb */ color: rgb(43, 40, 161);
/* oklch */ color: oklch(37.6% 0.186 273.9);
Tailwind
colors: {
  custom: {
    50: '#7764be',
    500: '#2b28a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b28a1;
$custom-light: #7764be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28a1",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 241.488,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.18622,
    "h": 273.9
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#2B28A1
secondary
#BEC065
accent
#E344DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B28A1

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

Preview Lab → · Contrast checker → · Palette generator →

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