#2A2B85#2A2B85

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

Color values

HEX#2A2B85
RGBrgb(42, 43, 133)
HSLhsl(239, 52%, 34%)
HSVhsv(239, 68%, 52%)
CMYKcmyk(68.4%, 67.7%, 0%, 47.8%)
CIE-LABlab(23.38, 29.90, -50.56)
CIE-LCHlch(23.38, 58.74, 300.60°)
OKLaboklab(35.18% 0.0137 -0.1459)
OKLCHoklch(35.18% 0.147 275.3)
XYZxyz(6.0510, 3.9129, 22.6221)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B85 #85842A
analogous
#2A5985 #2A2B85 #572A85
triadic
#2A2B85 #852A2B #2B852A
tetradic
#2A2B85 #852A59 #85842A #2A8557
square
#2A2B85 #852A59 #85842A #2A8557
split-complementary
#2A2B85 #85572A #59852A
monochromatic
#0D0D28 #1B1C56 #2A2B85 #393AB4 #5D5FCC

Accessibility & contrast

On white

11.78
#2A2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2B85
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B85#FFFFFF#000000##FFFFFF
##2A2B851.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2b85;
/* rgb */ color: rgb(42, 43, 133);
/* oklch */ color: oklch(35.2% 0.147 275.3);
Tailwind
colors: {
  custom: {
    50: '#7064a9',
    500: '#2a2b85',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b85;
$custom-light: #7064a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b85",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 239.341,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35183,
    "c": 0.14653,
    "h": 275.3
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#2A2B85
secondary
#B2B159
accent
#DA4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2A2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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