#2835AE#2835AE

#2835AE is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.190 H 270.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2835AE
RGBrgb(40, 53, 174)
HSLhsl(234, 63%, 42%)
HSVhsv(234, 77%, 68%)
CMYKcmyk(77%, 69.5%, 0%, 31.8%)
CIE-LABlab(29.54, 38.03, -65.53)
CIE-LCHlch(29.54, 75.77, 300.13°)
OKLaboklab(40.81% 0.0006 -0.1897)
OKLCHoklch(40.81% 0.19 270.2)
XYZxyz(9.7855, 6.0522, 40.6887)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2835AE #AEA128
analogous
#2878AE #2835AE #5E28AE
triadic
#2835AE #AE2835 #35AE28
tetradic
#2835AE #AE2878 #AEA128 #28AE5E
square
#2835AE #AE2878 #AEA128 #28AE5E
split-complementary
#2835AE #AE5E28 #78AE28
monochromatic
#11174A #1D267C #2835AE #404ED3 #727CDF

Accessibility & contrast

On white

9.50
#2835AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2835AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2835AE
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2835AE#FFFFFF#000000##FFFFFF
##2835AE1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2835ae;
/* rgb */ color: rgb(40, 53, 174);
/* oklch */ color: oklch(40.8% 0.190 270.2);
Tailwind
colors: {
  custom: {
    50: '#786dc7',
    500: '#2835ae',
    950: '#000000',
  },
}
SCSS
$custom: #2835ae;
$custom-light: #786dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2835ae",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 234.179,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.1897,
    "h": 270.2
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#2835AE
secondary
#C6BD6C
accent
#D642E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2835AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2835AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva