#2A2890#2A2890

#2A2890 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.165 H 275.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2A2890
RGBrgb(42, 40, 144)
HSLhsl(241, 57%, 36%)
HSVhsv(241, 72%, 56%)
CMYKcmyk(70.8%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.75, 35.70, -56.81)
CIE-LCHlch(23.75, 67.10, 302.14°)
OKLaboklab(35.77% 0.0143 -0.1642)
OKLCHoklch(35.77% 0.165 275)
XYZxyz(6.7460, 4.0228, 26.8011)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2890 #8E9028
analogous
#285A90 #2A2890 #5E2890
triadic
#2A2890 #902A28 #28902A
tetradic
#2A2890 #90285A #8E9028 #28905E
square
#2A2890 #90285A #8E9028 #28905E
split-complementary
#2A2890 #905E28 #5A9028
monochromatic
#0E0D30 #1C1B60 #2A2890 #3835C0 #6260D3

Accessibility & contrast

On white

11.64
#2A2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2A2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2890
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2890#FFFFFF#000000##FFFFFF
##2A28901.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2890;
/* rgb */ color: rgb(42, 40, 144);
/* oklch */ color: oklch(35.8% 0.165 275.0);
Tailwind
colors: {
  custom: {
    50: '#7363b2',
    500: '#2a2890',
    950: '#000000',
  },
}
SCSS
$custom: #2a2890;
$custom-light: #7363b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2890",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 241.154,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35771,
    "c": 0.16482,
    "h": 275
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#2A2890
secondary
#B6B85C
accent
#E048DD
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2A2890

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

Preview Lab → · Contrast checker → · Palette generator →

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