#2B28A8#2B28A8

#2B28A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.195 H 273.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2B28A8
RGBrgb(43, 40, 168)
HSLhsl(241, 62%, 41%)
HSVhsv(241, 76%, 66%)
CMYKcmyk(74.4%, 76.2%, 0%, 34.1%)
CIE-LABlab(26.32, 43.94, -67.23)
CIE-LCHlch(26.32, 80.32, 303.17°)
OKLaboklab(38.37% 0.0112 -0.1945)
OKLCHoklch(38.37% 0.195 273.3)
XYZxyz(8.8206, 4.8574, 37.5109)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B28A8 #A5A828
analogous
#2865A8 #2B28A8 #6B28A8
triadic
#2B28A8 #A82B28 #28A82B
tetradic
#2B28A8 #A82865 #A5A828 #28A86B
square
#2B28A8 #A82865 #A5A828 #28A86B
split-complementary
#2B28A8 #A86B28 #65A828
monochromatic
#121045 #1E1C77 #2B28A8 #403DD1 #716EDC

Accessibility & contrast

On white

10.65
#2B28A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B28A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B28A8
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B28A8#FFFFFF#000000##FFFFFF
##2B28A81.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b28a8;
/* rgb */ color: rgb(43, 40, 168);
/* oklch */ color: oklch(38.4% 0.195 273.3);
Tailwind
colors: {
  custom: {
    50: '#7964c3',
    500: '#2b28a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b28a8;
$custom-light: #7964c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b28a8",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 241.406,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.19485,
    "h": 273.3
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#2B28A8
secondary
#C1C369
accent
#E543E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B28A8

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

Preview Lab → · Contrast checker → · Palette generator →

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