#2A2490#2A2490

#2A2490 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.169 H 275.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2A2490
RGBrgb(42, 36, 144)
HSLhsl(243, 60%, 35%)
HSVhsv(243, 75%, 56%)
CMYKcmyk(70.8%, 75%, 0%, 43.5%)
CIE-LABlab(22.89, 38.09, -58.23)
CIE-LCHlch(22.89, 69.58, 303.19°)
OKLaboklab(35.16% 0.0168 -0.1683)
OKLCHoklch(35.16% 0.169 275.7)
XYZxyz(6.6181, 3.7670, 26.7585)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2490 #8A9024
analogous
#245490 #2A2490 #602490
triadic
#2A2490 #902A24 #24902A
tetradic
#2A2490 #902454 #8A9024 #249060
square
#2A2490 #902454 #8A9024 #249060
split-complementary
#2A2490 #906024 #549024
monochromatic
#0D0C2E #1C185F #2A2490 #3830C1 #6059D5

Accessibility & contrast

On white

11.98
#2A2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2A2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2490
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2490#FFFFFF#000000##FFFFFF
##2A24901.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a2490;
/* rgb */ color: rgb(42, 36, 144);
/* oklch */ color: oklch(35.2% 0.169 275.7);
Tailwind
colors: {
  custom: {
    50: '#7360b2',
    500: '#2a2490',
    950: '#000000',
  },
}
SCSS
$custom: #2a2490;
$custom-light: #7360b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2490",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 243.333,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35157,
    "c": 0.16916,
    "h": 275.7
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#2A2490
secondary
#B4BA56
accent
#E345DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2A2490

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

Preview Lab → · Contrast checker → · Palette generator →

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