#2A35B0#2A35B0

#2A35B0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.192 H 270.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2A35B0
RGBrgb(42, 53, 176)
HSLhsl(235, 61%, 43%)
HSVhsv(235, 76%, 69%)
CMYKcmyk(76.1%, 69.9%, 0%, 31%)
CIE-LABlab(29.84, 38.93, -66.23)
CIE-LCHlch(29.84, 76.83, 300.45°)
OKLaboklab(41.12% 0.0025 -0.1917)
OKLCHoklch(41.12% 0.192 270.7)
XYZxyz(10.0618, 6.1719, 41.7269)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A35B0 #B0A52A
analogous
#2A78B0 #2A35B0 #622AB0
triadic
#2A35B0 #B02A35 #35B02A
tetradic
#2A35B0 #B02A78 #B0A52A #2AB062
square
#2A35B0 #B02A78 #B0A52A #2AB062
split-complementary
#2A35B0 #B0622A #78B02A
monochromatic
#12174D #1E267F #2A35B0 #4550D3 #767FDE

Accessibility & contrast

On white

9.40
#2A35B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A35B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A35B0
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A35B0#FFFFFF#000000##FFFFFF
##2A35B01.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a35b0;
/* rgb */ color: rgb(42, 53, 176);
/* oklch */ color: oklch(41.1% 0.192 270.7);
Tailwind
colors: {
  custom: {
    50: '#796dc9',
    500: '#2a35b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a35b0;
$custom-light: #796dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a35b0",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 235.075,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.19173,
    "h": 270.7
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#2A35B0
secondary
#C6BF70
accent
#D743E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A35B0

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

Preview Lab → · Contrast checker → · Palette generator →

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