#2B2A87#2B2A87

#2B2A87 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.150 H 275.9°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2B2A87
RGBrgb(43, 42, 135)
HSLhsl(241, 53%, 35%)
HSVhsv(241, 69%, 53%)
CMYKcmyk(68.1%, 68.9%, 0%, 47.1%)
CIE-LABlab(23.40, 31.41, -51.78)
CIE-LCHlch(23.40, 60.56, 301.24°)
OKLaboklab(35.27% 0.0155 -0.1494)
OKLCHoklch(35.27% 0.15 275.9)
XYZxyz(6.1960, 3.9182, 23.3468)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A87 #86872A
analogous
#2A5887 #2B2A87 #5A2A87
triadic
#2B2A87 #872B2A #2A872B
tetradic
#2B2A87 #872A58 #86872A #2A875A
square
#2B2A87 #872A58 #86872A #2A875A
split-complementary
#2B2A87 #875A2A #58872A
monochromatic
#0D0D2A #1C1B58 #2B2A87 #3A39B6 #605ECD

Accessibility & contrast

On white

11.77
#2B2A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B2A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A87
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A87#FFFFFF#000000##FFFFFF
##2B2A871.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2a87;
/* rgb */ color: rgb(43, 42, 135);
/* oklch */ color: oklch(35.3% 0.150 275.9);
Tailwind
colors: {
  custom: {
    50: '#7164ab',
    500: '#2b2a87',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a87;
$custom-light: #7164ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a87",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 240.645,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35272,
    "c": 0.15024,
    "h": 275.9
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#2B2A87
secondary
#B2B35A
accent
#DC4CDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B2A87

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

Preview Lab → · Contrast checker → · Palette generator →

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