#2A29A9#2A29A9

#2A29A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.195 H 272.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2A29A9
RGBrgb(42, 41, 169)
HSLhsl(240, 61%, 41%)
HSVhsv(240, 76%, 66%)
CMYKcmyk(75.1%, 75.7%, 0%, 33.7%)
CIE-LABlab(26.57, 43.62, -67.43)
CIE-LCHlch(26.57, 80.31, 302.90°)
OKLaboklab(38.56% 0.0093 -0.1951)
OKLCHoklch(38.56% 0.195 272.7)
XYZxyz(8.9068, 4.9418, 38.0129)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29A9 #A8A929
analogous
#2968A9 #2A29A9 #6A29A9
triadic
#2A29A9 #A92A29 #29A92A
tetradic
#2A29A9 #A92968 #A8A929 #29A96A
square
#2A29A9 #A92968 #A8A929 #29A96A
split-complementary
#2A29A9 #A96A29 #68A929
monochromatic
#121146 #1E1D78 #2A29A9 #403FD0 #7170DC

Accessibility & contrast

On white

10.56
#2A29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29A9
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29A9#FFFFFF#000000##FFFFFF
##2A29A91.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a29a9;
/* rgb */ color: rgb(42, 41, 169);
/* oklch */ color: oklch(38.6% 0.195 272.7);
Tailwind
colors: {
  custom: {
    50: '#7965c4',
    500: '#2a29a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a29a9;
$custom-light: #7965c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29a9",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 240.469,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.19537,
    "h": 272.7
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#2A29A9
secondary
#C3C36A
accent
#E444E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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