#2A2CA5#2A2CA5

#2A2CA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.187 H 272.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2A2CA5
RGBrgb(42, 44, 165)
HSLhsl(239, 59%, 41%)
HSVhsv(239, 75%, 65%)
CMYKcmyk(74.5%, 73.3%, 0%, 35.3%)
CIE-LABlab(26.76, 40.54, -64.70)
CIE-LCHlch(26.76, 76.35, 302.07°)
OKLaboklab(38.57% 0.0086 -0.1872)
OKLCHoklch(38.57% 0.187 272.6)
XYZxyz(8.6448, 5.0093, 36.1013)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CA5 #A5A32A
analogous
#2A6AA5 #2A2CA5 #652AA5
triadic
#2A2CA5 #A52A2C #2CA52A
tetradic
#2A2CA5 #A52A6A #A5A32A #2AA565
square
#2A2CA5 #A52A6A #A5A32A #2AA565
split-complementary
#2A2CA5 #A5652A #6AA52A
monochromatic
#111243 #1E1F74 #2A2CA5 #3E41CE #6F71DA

Accessibility & contrast

On white

10.49
#2A2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2A2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CA5
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CA5#FFFFFF#000000##FFFFFF
##2A2CA51.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a2ca5;
/* rgb */ color: rgb(42, 44, 165);
/* oklch */ color: oklch(38.6% 0.187 272.6);
Tailwind
colors: {
  custom: {
    50: '#7866c1',
    500: '#2a2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ca5;
$custom-light: #7866c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ca5",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 239.024,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38572,
    "c": 0.18741,
    "h": 272.6
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#2A2CA5
secondary
#C1C069
accent
#E045E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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