#2A2B89#2A2B89

#2A2B89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.152 H 275.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2A2B89
RGBrgb(42, 43, 137)
HSLhsl(239, 53%, 35%)
HSVhsv(239, 69%, 54%)
CMYKcmyk(69.3%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.76, 31.34, -52.44)
CIE-LCHlch(23.76, 61.09, 300.86°)
OKLaboklab(35.57% 0.0132 -0.1514)
OKLCHoklch(35.57% 0.152 275)
XYZxyz(6.3326, 4.0256, 24.1053)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B89 #89882A
analogous
#2A5B89 #2A2B89 #582A89
triadic
#2A2B89 #892A2B #2B892A
tetradic
#2A2B89 #892A5B #89882A #2A8958
square
#2A2B89 #892A5B #89882A #2A8958
split-complementary
#2A2B89 #89582A #5B892A
monochromatic
#0D0E2B #1C1C5A #2A2B89 #383AB8 #5F61CE

Accessibility & contrast

On white

11.63
#2A2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2A2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B89
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B89#FFFFFF#000000##FFFFFF
##2A2B891.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a2b89;
/* rgb */ color: rgb(42, 43, 137);
/* oklch */ color: oklch(35.6% 0.152 275.0);
Tailwind
colors: {
  custom: {
    50: '#7165ac',
    500: '#2a2b89',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b89;
$custom-light: #7165ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b89",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 239.368,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3557,
    "c": 0.15201,
    "h": 275
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#2A2B89
secondary
#B4B35B
accent
#DB4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2A2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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