#2A35B7#2A35B7

#2A35B7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 41.8% C 0.201 H 270.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2A35B7
RGBrgb(42, 53, 183)
HSLhsl(235, 63%, 44%)
HSVhsv(235, 77%, 72%)
CMYKcmyk(77%, 71%, 0%, 28.2%)
CIE-LABlab(30.54, 41.39, -69.26)
CIE-LCHlch(30.54, 80.68, 300.86°)
OKLaboklab(41.83% 0.0017 -0.2005)
OKLCHoklch(41.83% 0.201 270.5)
XYZxyz(10.7723, 6.4562, 45.4690)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A35B7 #B7AC2A
analogous
#2A7CB7 #2A35B7 #662AB7
triadic
#2A35B7 #B72A35 #35B72A
tetradic
#2A35B7 #B72A7C #B7AC2A #2AB766
square
#2A35B7 #B72A7C #B7AC2A #2AB766
split-complementary
#2A35B7 #B7662A #7CB72A
monochromatic
#131853 #1F2785 #2A35B7 #4954D5 #7B83E1

Accessibility & contrast

On white

9.16
#2A35B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2A35B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A35B7
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A35B7#FFFFFF#000000##FFFFFF
##2A35B71.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a35b7;
/* rgb */ color: rgb(42, 53, 183);
/* oklch */ color: oklch(41.8% 0.201 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b6dce',
    500: '#2a35b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a35b7;
$custom-light: #7b6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a35b7",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 235.319,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41825,
    "c": 0.20053,
    "h": 270.5
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#2A35B7
secondary
#C9C274
accent
#D942E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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