#2A2990#2A2990

#2A2990 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.164 H 274.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2A2990
RGBrgb(42, 41, 144)
HSLhsl(241, 56%, 36%)
HSVhsv(241, 72%, 56%)
CMYKcmyk(70.8%, 71.5%, 0%, 43.5%)
CIE-LABlab(23.97, 35.08, -56.44)
CIE-LCHlch(23.97, 66.46, 301.86°)
OKLaboklab(35.93% 0.0137 -0.1631)
OKLCHoklch(35.93% 0.164 274.8)
XYZxyz(6.7802, 4.0911, 26.8125)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2990 #8F9029
analogous
#295C90 #2A2990 #5E2990
triadic
#2A2990 #902A29 #29902A
tetradic
#2A2990 #90295C #8F9029 #29905E
square
#2A2990 #90295C #8F9029 #29905E
split-complementary
#2A2990 #905E29 #5C9029
monochromatic
#0E0E31 #1C1B60 #2A2990 #3837C0 #6261D2

Accessibility & contrast

On white

11.55
#2A2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2A2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2990
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2990#FFFFFF#000000##FFFFFF
##2A29901.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a2990;
/* rgb */ color: rgb(42, 41, 144);
/* oklch */ color: oklch(35.9% 0.164 274.8);
Tailwind
colors: {
  custom: {
    50: '#7364b2',
    500: '#2a2990',
    950: '#000000',
  },
}
SCSS
$custom: #2a2990;
$custom-light: #7364b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2990",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 240.583,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35931,
    "c": 0.16369,
    "h": 274.8
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#2A2990
secondary
#B7B85D
accent
#DF49DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2990

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

Preview Lab → · Contrast checker → · Palette generator →

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