#2B2A80#2B2A80

#2B2A80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.141 H 276.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#2B2A80
RGBrgb(43, 42, 128)
HSLhsl(241, 51%, 33%)
HSVhsv(241, 67%, 50%)
CMYKcmyk(66.4%, 67.2%, 0%, 49.8%)
CIE-LABlab(22.75, 28.91, -48.44)
CIE-LCHlch(22.75, 56.41, 300.83°)
OKLaboklab(34.6% 0.0163 -0.1397)
OKLCHoklch(34.6% 0.141 276.6)
XYZxyz(5.7192, 3.7276, 20.8360)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A80 #7F802A
analogous
#2A5480 #2B2A80 #562A80
triadic
#2B2A80 #802B2A #2A802B
tetradic
#2B2A80 #802A54 #7F802A #2A8056
square
#2B2A80 #802A54 #7F802A #2A8056
split-complementary
#2B2A80 #80562A #54802A
monochromatic
#0C0C24 #1C1B52 #2B2A80 #3A39AE #5C5BC9

Accessibility & contrast

On white

12.03
#2B2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A80
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A80#FFFFFF#000000##FFFFFF
##2B2A801.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2a80;
/* rgb */ color: rgb(43, 42, 128);
/* oklch */ color: oklch(34.6% 0.141 276.6);
Tailwind
colors: {
  custom: {
    50: '#7064a6',
    500: '#2b2a80',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a80;
$custom-light: #7064a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a80",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 240.698,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.346,
    "c": 0.14061,
    "h": 276.6
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#2B2A80
secondary
#AEAF57
accent
#DA4ED8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2B2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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