#2A2B95#2A2B95

#2A2B95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.168 H 274.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2A2B95
RGBrgb(42, 43, 149)
HSLhsl(239, 56%, 37%)
HSVhsv(239, 72%, 58%)
CMYKcmyk(71.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(24.92, 35.60, -57.97)
CIE-LCHlch(24.92, 68.03, 301.55°)
OKLaboklab(36.76% 0.0117 -0.1676)
OKLCHoklch(36.76% 0.168 274)
XYZxyz(7.2417, 4.3892, 28.8935)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B95 #95942A
analogous
#2A6195 #2A2B95 #5E2A95
triadic
#2A2B95 #952A2B #2B952A
tetradic
#2A2B95 #952A61 #95942A #2A955E
square
#2A2B95 #952A61 #95942A #2A955E
split-complementary
#2A2B95 #955E2A #61952A
monochromatic
#0F0F36 #1D1D65 #2A2B95 #3739C5 #6667D4

Accessibility & contrast

On white

11.18
#2A2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B95
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B95#FFFFFF#000000##FFFFFF
##2A2B951.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a2b95;
/* rgb */ color: rgb(42, 43, 149);
/* oklch */ color: oklch(36.8% 0.168 274.0);
Tailwind
colors: {
  custom: {
    50: '#7465b5',
    500: '#2a2b95',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b95;
$custom-light: #7465b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b95",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 239.439,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36763,
    "c": 0.16799,
    "h": 274
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#2A2B95
secondary
#BAB961
accent
#DE48DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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