#2A2992#2A2992

#2A2992 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.166 H 274.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2A2992
RGBrgb(42, 41, 146)
HSLhsl(241, 56%, 37%)
HSVhsv(241, 72%, 57%)
CMYKcmyk(71.2%, 71.9%, 0%, 42.7%)
CIE-LABlab(24.17, 35.78, -57.35)
CIE-LCHlch(24.17, 67.60, 301.96°)
OKLaboklab(36.14% 0.0134 -0.1658)
OKLCHoklch(36.14% 0.166 274.6)
XYZxyz(6.9344, 4.1528, 27.6247)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2992 #919229
analogous
#295D92 #2A2992 #5F2992
triadic
#2A2992 #922A29 #29922A
tetradic
#2A2992 #92295D #919229 #29925F
square
#2A2992 #92295D #919229 #29925F
split-complementary
#2A2992 #925F29 #5D9229
monochromatic
#0F0E32 #1C1C62 #2A2992 #3836C2 #6362D3

Accessibility & contrast

On white

11.47
#2A2992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2A2992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2992
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2992#FFFFFF#000000##FFFFFF
##2A29921.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a2992;
/* rgb */ color: rgb(42, 41, 146);
/* oklch */ color: oklch(36.1% 0.166 274.6);
Tailwind
colors: {
  custom: {
    50: '#7364b3',
    500: '#2a2992',
    950: '#000000',
  },
}
SCSS
$custom: #2a2992;
$custom-light: #7364b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2992",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 240.571,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36135,
    "c": 0.16632,
    "h": 274.6
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#2A2992
secondary
#B8B95E
accent
#DF48DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2992

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

Preview Lab → · Contrast checker → · Palette generator →

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