#2A2B86#2A2B86

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

Color values

HEX#2A2B86
RGBrgb(42, 43, 134)
HSLhsl(239, 52%, 35%)
HSVhsv(239, 69%, 53%)
CMYKcmyk(68.7%, 67.9%, 0%, 47.5%)
CIE-LABlab(23.47, 30.26, -51.03)
CIE-LCHlch(23.47, 59.33, 300.67°)
OKLaboklab(35.28% 0.0136 -0.1473)
OKLCHoklch(35.28% 0.148 275.3)
XYZxyz(6.1204, 3.9407, 22.9877)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B86 #86852A
analogous
#2A5986 #2A2B86 #572A86
triadic
#2A2B86 #862A2B #2B862A
tetradic
#2A2B86 #862A59 #86852A #2A8657
square
#2A2B86 #862A59 #86852A #2A8657
split-complementary
#2A2B86 #86572A #59862A
monochromatic
#0D0D29 #1B1C57 #2A2B86 #393AB5 #5E5FCD

Accessibility & contrast

On white

11.74
#2A2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2A2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B86
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B86#FFFFFF#000000##FFFFFF
##2A2B861.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2b86;
/* rgb */ color: rgb(42, 43, 134);
/* oklch */ color: oklch(35.3% 0.148 275.3);
Tailwind
colors: {
  custom: {
    50: '#7065aa',
    500: '#2a2b86',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b86;
$custom-light: #7065aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b86",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 239.348,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35279,
    "c": 0.1479,
    "h": 275.3
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#2A2B86
secondary
#B2B15A
accent
#DA4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2A2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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