#2A2C95#2A2C95

#2A2C95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.167 H 273.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2A2C95
RGBrgb(42, 44, 149)
HSLhsl(239, 56%, 37%)
HSVhsv(239, 72%, 58%)
CMYKcmyk(71.8%, 70.5%, 0%, 41.6%)
CIE-LABlab(25.15, 34.97, -57.60)
CIE-LCHlch(25.15, 67.39, 301.27°)
OKLaboklab(36.93% 0.011 -0.1665)
OKLCHoklch(36.93% 0.167 273.8)
XYZxyz(7.2785, 4.4628, 28.9058)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C95 #95932A
analogous
#2A6195 #2A2C95 #5E2A95
triadic
#2A2C95 #952A2C #2C952A
tetradic
#2A2C95 #952A61 #95932A #2A955E
square
#2A2C95 #952A61 #95932A #2A955E
split-complementary
#2A2C95 #955E2A #61952A
monochromatic
#0F1036 #1D1E65 #2A2C95 #373AC5 #6668D4

Accessibility & contrast

On white

11.09
#2A2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C95
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C95#FFFFFF#000000##FFFFFF
##2A2C951.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a2c95;
/* rgb */ color: rgb(42, 44, 149);
/* oklch */ color: oklch(36.9% 0.167 273.8);
Tailwind
colors: {
  custom: {
    50: '#7466b5',
    500: '#2a2c95',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c95;
$custom-light: #7466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c95",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 238.879,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.16686,
    "h": 273.8
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#2A2C95
secondary
#BAB861
accent
#DD48DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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