#2A35B4#2A35B4

#2A35B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.197 H 270.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2A35B4
RGBrgb(42, 53, 180)
HSLhsl(235, 62%, 44%)
HSVhsv(235, 77%, 71%)
CMYKcmyk(76.7%, 70.6%, 0%, 29.4%)
CIE-LABlab(30.24, 40.34, -67.97)
CIE-LCHlch(30.24, 79.04, 300.69°)
OKLaboklab(41.52% 0.002 -0.1968)
OKLCHoklch(41.52% 0.197 270.6)
XYZxyz(10.4634, 6.3326, 43.8420)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A35B4 #B4A92A
analogous
#2A7AB4 #2A35B4 #642AB4
triadic
#2A35B4 #B42A35 #35B42A
tetradic
#2A35B4 #B42A7A #B4A92A #2AB464
square
#2A35B4 #B42A7A #B4A92A #2AB464
split-complementary
#2A35B4 #B4642A #7AB42A
monochromatic
#131851 #1E2682 #2A35B4 #4752D4 #7981E0

Accessibility & contrast

On white

9.26
#2A35B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2A35B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A35B4
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A35B4#FFFFFF#000000##FFFFFF
##2A35B41.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a35b4;
/* rgb */ color: rgb(42, 53, 180);
/* oklch */ color: oklch(41.5% 0.197 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a6dcc',
    500: '#2a35b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a35b4;
$custom-light: #7a6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a35b4",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 235.217,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.19677,
    "h": 270.6
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#2A35B4
secondary
#C8C172
accent
#D843E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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