#2B28A6#2B28A6

#2B28A6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.192 H 273.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2B28A6
RGBrgb(43, 40, 166)
HSLhsl(241, 61%, 40%)
HSVhsv(241, 76%, 65%)
CMYKcmyk(74.1%, 75.9%, 0%, 34.9%)
CIE-LABlab(26.11, 43.28, -66.38)
CIE-LCHlch(26.11, 79.24, 303.10°)
OKLaboklab(38.16% 0.0116 -0.192)
OKLCHoklch(38.16% 0.192 273.4)
XYZxyz(8.6357, 4.7835, 36.5372)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28A6 #A3A628
analogous
#2864A6 #2B28A6 #6A28A6
triadic
#2B28A6 #A62B28 #28A62B
tetradic
#2B28A6 #A62864 #A3A628 #28A66A
square
#2B28A6 #A62864 #A3A628 #28A66A
split-complementary
#2B28A6 #A66A28 #64A628
monochromatic
#111043 #1E1C75 #2B28A6 #3F3BD0 #6F6DDC

Accessibility & contrast

On white

10.73
#2B28A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B28A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28A6
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28A6#FFFFFF#000000##FFFFFF
##2B28A61.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b28a6;
/* rgb */ color: rgb(43, 40, 166);
/* oklch */ color: oklch(38.2% 0.192 273.4);
Tailwind
colors: {
  custom: {
    50: '#7964c2',
    500: '#2b28a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b28a6;
$custom-light: #7964c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28a6",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 241.429,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.1924,
    "h": 273.4
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#2B28A6
secondary
#C0C267
accent
#E444E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B28A6

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

Preview Lab → · Contrast checker → · Palette generator →

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