#2A29A8#2A29A8

#2A29A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.194 H 272.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2A29A8
RGBrgb(42, 41, 168)
HSLhsl(240, 61%, 41%)
HSVhsv(240, 76%, 66%)
CMYKcmyk(75%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.46, 43.29, -67.01)
CIE-LCHlch(26.46, 79.78, 302.86°)
OKLaboklab(38.45% 0.0095 -0.1939)
OKLCHoklch(38.45% 0.194 272.8)
XYZxyz(8.8133, 4.9044, 37.5204)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29A8 #A7A829
analogous
#2967A8 #2A29A8 #6929A8
triadic
#2A29A8 #A82A29 #29A82A
tetradic
#2A29A8 #A82967 #A7A829 #29A869
square
#2A29A8 #A82967 #A7A829 #29A869
split-complementary
#2A29A8 #A86929 #67A829
monochromatic
#111146 #1E1D77 #2A29A8 #3F3ED0 #706FDC

Accessibility & contrast

On white

10.60
#2A29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29A8
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29A8#FFFFFF#000000##FFFFFF
##2A29A81.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a29a8;
/* rgb */ color: rgb(42, 41, 168);
/* oklch */ color: oklch(38.5% 0.194 272.8);
Tailwind
colors: {
  custom: {
    50: '#7965c3',
    500: '#2a29a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a29a8;
$custom-light: #7965c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29a8",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 240.472,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38452,
    "c": 0.19414,
    "h": 272.8
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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