#2A2B82#2A2B82

#2A2B82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.142 H 275.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2A2B82
RGBrgb(42, 43, 130)
HSLhsl(239, 51%, 34%)
HSVhsv(239, 68%, 51%)
CMYKcmyk(67.7%, 66.9%, 0%, 49%)
CIE-LABlab(23.11, 28.82, -49.12)
CIE-LCHlch(23.11, 56.95, 300.40°)
OKLaboklab(34.9% 0.0139 -0.1417)
OKLCHoklch(34.9% 0.142 275.6)
XYZxyz(5.8467, 3.8312, 21.5461)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B82 #82812A
analogous
#2A5782 #2A2B82 #552A82
triadic
#2A2B82 #822A2B #2B822A
tetradic
#2A2B82 #822A57 #82812A #2A8255
square
#2A2B82 #822A57 #82812A #2A8255
split-complementary
#2A2B82 #82552A #57822A
monochromatic
#0C0C25 #1B1C54 #2A2B82 #393AB0 #5C5DCA

Accessibility & contrast

On white

11.89
#2A2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B82
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B82#FFFFFF#000000##FFFFFF
##2A2B821.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a2b82;
/* rgb */ color: rgb(42, 43, 130);
/* oklch */ color: oklch(34.9% 0.142 275.6);
Tailwind
colors: {
  custom: {
    50: '#6f64a7',
    500: '#2a2b82',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b82;
$custom-light: #6f64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b82",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 239.318,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34897,
    "c": 0.14237,
    "h": 275.6
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#2A2B82
secondary
#B0AF58
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2A2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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