#2A35AA#2A35AA

#2A35AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.184 H 271.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2A35AA
RGBrgb(42, 53, 170)
HSLhsl(235, 60%, 42%)
HSVhsv(235, 75%, 67%)
CMYKcmyk(75.3%, 68.8%, 0%, 33.3%)
CIE-LABlab(29.26, 36.80, -63.60)
CIE-LCHlch(29.26, 73.48, 300.06°)
OKLaboklab(40.52% 0.0031 -0.184)
OKLCHoklch(40.52% 0.184 271)
XYZxyz(9.4812, 5.9397, 38.6692)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A35AA #AA9F2A
analogous
#2A75AA #2A35AA #5F2AAA
triadic
#2A35AA #AA2A35 #35AA2A
tetradic
#2A35AA #AA2A75 #AA9F2A #2AAA5F
square
#2A35AA #AA2A75 #AA9F2A #2AAA5F
split-complementary
#2A35AA #AA5F2A #75AA2A
monochromatic
#121648 #1E2679 #2A35AA #414DD0 #727BDC

Accessibility & contrast

On white

9.60
#2A35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A35AA
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A35AA#FFFFFF#000000##FFFFFF
##2A35AA1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a35aa;
/* rgb */ color: rgb(42, 53, 170);
/* oklch */ color: oklch(40.5% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#786cc4',
    500: '#2a35aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a35aa;
$custom-light: #786cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a35aa",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 234.844,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.18404,
    "h": 271
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#2A35AA
secondary
#C3BC6C
accent
#D644E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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