#2B2080#2B2080

#2B2080 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.153 H 279.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2B2080
RGBrgb(43, 32, 128)
HSLhsl(247, 60%, 31%)
HSVhsv(247, 75%, 50%)
CMYKcmyk(66.4%, 75%, 0%, 49.8%)
CIE-LABlab(20.46, 35.16, -52.20)
CIE-LCHlch(20.46, 62.94, 303.96°)
OKLaboklab(32.95% 0.0241 -0.1507)
OKLCHoklch(32.95% 0.153 279.1)
XYZxyz(5.4078, 3.1047, 20.7322)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2080 #758020
analogous
#204580 #2B2080 #5B2080
triadic
#2B2080 #802B20 #20802B
tetradic
#2B2080 #802045 #758020 #20805B
square
#2B2080 #802045 #758020 #20805B
split-complementary
#2B2080 #805B20 #458020
monochromatic
#0A081E #1B144F #2B2080 #3B2CB1 #5949D1

Accessibility & contrast

On white

12.95
#2B2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2080
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2080#FFFFFF#000000##FFFFFF
##2B20801.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b2080;
/* rgb */ color: rgb(43, 32, 128);
/* oklch */ color: oklch(33.0% 0.153 279.1);
Tailwind
colors: {
  custom: {
    50: '#715da6',
    500: '#2b2080',
    950: '#000000',
  },
}
SCSS
$custom: #2b2080;
$custom-light: #715da6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2080",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 246.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32952,
    "c": 0.15259,
    "h": 279.1
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#2B2080
secondary
#A7B349
accent
#E345D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2B2080

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

Preview Lab → · Contrast checker → · Palette generator →

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