#2B28AC#2B28AC

#2B28AC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.200 H 273.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2B28AC
RGBrgb(43, 40, 172)
HSLhsl(241, 62%, 42%)
HSVhsv(241, 77%, 67%)
CMYKcmyk(75%, 76.7%, 0%, 32.5%)
CIE-LABlab(26.76, 45.25, -68.92)
CIE-LCHlch(26.76, 82.45, 303.29°)
OKLaboklab(38.81% 0.0104 -0.1994)
OKLCHoklch(38.81% 0.2 273)
XYZxyz(9.1990, 5.0088, 39.5037)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28AC #A9AC28
analogous
#2867AC #2B28AC #6D28AC
triadic
#2B28AC #AC2B28 #28AC2B
tetradic
#2B28AC #AC2867 #A9AC28 #28AC6D
square
#2B28AC #AC2867 #A9AC28 #28AC6D
split-complementary
#2B28AC #AC6D28 #67AC28
monochromatic
#121149 #1F1C7A #2B28AC #423FD2 #7371DE

Accessibility & contrast

On white

10.49
#2B28AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B28AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28AC
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28AC#FFFFFF#000000##FFFFFF
##2B28AC1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b28ac;
/* rgb */ color: rgb(43, 40, 172);
/* oklch */ color: oklch(38.8% 0.200 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a64c6',
    500: '#2b28ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b28ac;
$custom-light: #7a64c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28ac",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 241.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38808,
    "c": 0.19971,
    "h": 273
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#2B28AC
secondary
#C3C56B
accent
#E542E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B28AC

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

Preview Lab → · Contrast checker → · Palette generator →

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