#2A2994#2A2994

#2A2994 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.169 H 274.4°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2A2994
RGBrgb(42, 41, 148)
HSLhsl(241, 57%, 37%)
HSVhsv(241, 72%, 58%)
CMYKcmyk(71.6%, 72.3%, 0%, 42%)
CIE-LABlab(24.37, 36.47, -58.26)
CIE-LCHlch(24.37, 68.73, 302.05°)
OKLaboklab(36.34% 0.0131 -0.1684)
OKLCHoklch(36.34% 0.169 274.4)
XYZxyz(7.0913, 4.2156, 28.4512)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2994 #939429
analogous
#295D94 #2A2994 #602994
triadic
#2A2994 #942A29 #29942A
tetradic
#2A2994 #94295D #939429 #299460
square
#2A2994 #94295D #939429 #299460
split-complementary
#2A2994 #946029 #5D9429
monochromatic
#0F0E34 #1C1C64 #2A2994 #3836C4 #6563D4

Accessibility & contrast

On white

11.39
#2A2994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A2994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2994
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2994#FFFFFF#000000##FFFFFF
##2A29941.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a2994;
/* rgb */ color: rgb(42, 41, 148);
/* oklch */ color: oklch(36.3% 0.169 274.4);
Tailwind
colors: {
  custom: {
    50: '#7464b4',
    500: '#2a2994',
    950: '#000000',
  },
}
SCSS
$custom: #2a2994;
$custom-light: #7464b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2994",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 240.561,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36341,
    "c": 0.16891,
    "h": 274.4
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#2A2994
secondary
#B9BA5F
accent
#E048DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2994

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

Preview Lab → · Contrast checker → · Palette generator →

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