#2A2CA1#2A2CA1

#2A2CA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.182 H 272.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2A2CA1
RGBrgb(42, 44, 161)
HSLhsl(239, 59%, 40%)
HSVhsv(239, 74%, 63%)
CMYKcmyk(73.9%, 72.7%, 0%, 36.9%)
CIE-LABlab(26.35, 39.17, -62.95)
CIE-LCHlch(26.35, 74.14, 301.89°)
OKLaboklab(38.15% 0.0093 -0.1821)
OKLCHoklch(38.15% 0.182 272.9)
XYZxyz(8.2864, 4.8660, 34.2138)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CA1 #A19F2A
analogous
#2A67A1 #2A2CA1 #642AA1
triadic
#2A2CA1 #A12A2C #2CA12A
tetradic
#2A2CA1 #A12A67 #A19F2A #2AA164
square
#2A2CA1 #A12A67 #A19F2A #2AA164
split-complementary
#2A2CA1 #A1642A #67A12A
monochromatic
#111140 #1D1F70 #2A2CA1 #3C3ECC #6D6ED9

Accessibility & contrast

On white

10.64
#2A2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2A2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CA1
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CA1#FFFFFF#000000##FFFFFF
##2A2CA11.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a2ca1;
/* rgb */ color: rgb(42, 44, 161);
/* oklch */ color: oklch(38.2% 0.182 272.9);
Tailwind
colors: {
  custom: {
    50: '#7766be',
    500: '#2a2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ca1;
$custom-light: #7766be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ca1",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 238.992,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.18236,
    "h": 272.9
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#2A2CA1
secondary
#C0BE67
accent
#DF46E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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