#2A35B1#2A35B1

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

Color values

HEX#2A35B1
RGBrgb(42, 53, 177)
HSLhsl(235, 62%, 43%)
HSVhsv(235, 76%, 69%)
CMYKcmyk(76.3%, 70.1%, 0%, 30.6%)
CIE-LABlab(29.94, 39.28, -66.67)
CIE-LCHlch(29.94, 77.38, 300.51°)
OKLaboklab(41.22% 0.0024 -0.193)
OKLCHoklch(41.22% 0.193 270.7)
XYZxyz(10.1611, 6.2117, 42.2499)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A35B1 #B1A62A
analogous
#2A78B1 #2A35B1 #622AB1
triadic
#2A35B1 #B12A35 #35B12A
tetradic
#2A35B1 #B12A78 #B1A62A #2AB162
square
#2A35B1 #B12A78 #B1A62A #2AB162
split-complementary
#2A35B1 #B1622A #78B12A
monochromatic
#13174E #1E2680 #2A35B1 #4551D3 #777FDF

Accessibility & contrast

On white

9.36
#2A35B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2A35B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A35B1
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A35B1#FFFFFF#000000##FFFFFF
##2A35B11.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a35b1;
/* rgb */ color: rgb(42, 53, 177);
/* oklch */ color: oklch(41.2% 0.193 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a6dc9',
    500: '#2a35b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a35b1;
$custom-light: #7a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a35b1",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 235.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.19298,
    "h": 270.7
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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