#2A35A9#2A35A9

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

Color values

HEX#2A35A9
RGBrgb(42, 53, 169)
HSLhsl(235, 60%, 41%)
HSVhsv(235, 75%, 66%)
CMYKcmyk(75.1%, 68.6%, 0%, 33.7%)
CIE-LABlab(29.16, 36.44, -63.16)
CIE-LCHlch(29.16, 72.92, 299.99°)
OKLaboklab(40.42% 0.0032 -0.1827)
OKLCHoklch(40.42% 0.183 271)
XYZxyz(9.3869, 5.9020, 38.1729)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A35A9 #A99E2A
analogous
#2A75A9 #2A35A9 #5F2AA9
triadic
#2A35A9 #A92A35 #35A92A
tetradic
#2A35A9 #A92A75 #A99E2A #2AA95F
square
#2A35A9 #A92A75 #A99E2A #2AA95F
split-complementary
#2A35A9 #A95F2A #75A92A
monochromatic
#121647 #1E2678 #2A35A9 #414DD0 #727BDC

Accessibility & contrast

On white

9.63
#2A35A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2A35A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A35A9
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A35A9#FFFFFF#000000##FFFFFF
##2A35A91.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a35a9;
/* rgb */ color: rgb(42, 53, 169);
/* oklch */ color: oklch(40.4% 0.183 271.0);
Tailwind
colors: {
  custom: {
    50: '#786cc4',
    500: '#2a35a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a35a9;
$custom-light: #786cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a35a9",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 234.803,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40421,
    "c": 0.18275,
    "h": 271
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#2A35A9
secondary
#C3BB6C
accent
#D644E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A35A9

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

Preview Lab → · Contrast checker → · Palette generator →

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