#2A2B88#2A2B88

#2A2B88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.151 H 275.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2A2B88
RGBrgb(42, 43, 136)
HSLhsl(239, 53%, 35%)
HSVhsv(239, 69%, 53%)
CMYKcmyk(69.1%, 68.4%, 0%, 46.7%)
CIE-LABlab(23.66, 30.98, -51.98)
CIE-LCHlch(23.66, 60.51, 300.80°)
OKLaboklab(35.47% 0.0133 -0.15)
OKLCHoklch(35.47% 0.151 275.1)
XYZxyz(6.2612, 3.9970, 23.7293)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B88 #88872A
analogous
#2A5A88 #2A2B88 #582A88
triadic
#2A2B88 #882A2B #2B882A
tetradic
#2A2B88 #882A5A #88872A #2A8858
square
#2A2B88 #882A5A #88872A #2A8858
split-complementary
#2A2B88 #88582A #5A882A
monochromatic
#0D0D2A #1C1C59 #2A2B88 #383AB7 #5F60CE

Accessibility & contrast

On white

11.67
#2A2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2A2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B88
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B88#FFFFFF#000000##FFFFFF
##2A2B881.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2b88;
/* rgb */ color: rgb(42, 43, 136);
/* oklch */ color: oklch(35.5% 0.151 275.1);
Tailwind
colors: {
  custom: {
    50: '#7165ac',
    500: '#2a2b88',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b88;
$custom-light: #7165ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b88",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 239.362,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35472,
    "c": 0.15064,
    "h": 275.1
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#2A2B88
secondary
#B3B25B
accent
#DB4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2A2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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