#2A2993#2A2993

#2A2993 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.168 H 274.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2A2993
RGBrgb(42, 41, 147)
HSLhsl(241, 56%, 37%)
HSVhsv(241, 72%, 58%)
CMYKcmyk(71.4%, 72.1%, 0%, 42.4%)
CIE-LABlab(24.27, 36.13, -57.81)
CIE-LCHlch(24.27, 68.17, 302.00°)
OKLaboklab(36.24% 0.0132 -0.1671)
OKLCHoklch(36.24% 0.168 274.5)
XYZxyz(7.0125, 4.1840, 28.0361)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2993 #929329
analogous
#295D93 #2A2993 #5F2993
triadic
#2A2993 #932A29 #29932A
tetradic
#2A2993 #93295D #929329 #29935F
square
#2A2993 #93295D #929329 #29935F
split-complementary
#2A2993 #935F29 #5D9329
monochromatic
#0F0E33 #1C1C63 #2A2993 #3836C3 #6463D3

Accessibility & contrast

On white

11.43
#2A2993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2993
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2993#FFFFFF#000000##FFFFFF
##2A29931.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a2993;
/* rgb */ color: rgb(42, 41, 147);
/* oklch */ color: oklch(36.2% 0.168 274.5);
Tailwind
colors: {
  custom: {
    50: '#7464b4',
    500: '#2a2993',
    950: '#000000',
  },
}
SCSS
$custom: #2a2993;
$custom-light: #7464b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2993",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 240.566,
    "s": 56.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.16762,
    "h": 274.5
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A2993

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

Preview Lab → · Contrast checker → · Palette generator →

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