#2835A9#2835A9

#2835A9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.183 H 270.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2835A9
RGBrgb(40, 53, 169)
HSLhsl(234, 62%, 41%)
HSVhsv(234, 76%, 66%)
CMYKcmyk(76.3%, 68.6%, 0%, 33.7%)
CIE-LABlab(29.06, 36.24, -63.33)
CIE-LCHlch(29.06, 72.97, 299.78°)
OKLaboklab(40.32% 0.0011 -0.1833)
OKLCHoklch(40.32% 0.183 270.4)
XYZxyz(9.3072, 5.8609, 38.1692)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2835A9 #A99C28
analogous
#2875A9 #2835A9 #5B28A9
triadic
#2835A9 #A92835 #35A928
tetradic
#2835A9 #A92875 #A99C28 #28A95B
square
#2835A9 #A92875 #A99C28 #28A95B
split-complementary
#2835A9 #A95B28 #75A928
monochromatic
#111646 #1C2578 #2835A9 #3D4CD1 #6F7ADD

Accessibility & contrast

On white

9.67
#2835A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2835A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2835A9
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2835A9#FFFFFF#000000##FFFFFF
##2835A91.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2835a9;
/* rgb */ color: rgb(40, 53, 169);
/* oklch */ color: oklch(40.3% 0.183 270.4);
Tailwind
colors: {
  custom: {
    50: '#776cc4',
    500: '#2835a9',
    950: '#000000',
  },
}
SCSS
$custom: #2835a9;
$custom-light: #776cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2835a9",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 233.953,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.18328,
    "h": 270.4
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#2835A9
secondary
#C4BA69
accent
#D543E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2835A9

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

Preview Lab → · Contrast checker → · Palette generator →

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