#2835A8#2835A8

#2835A8 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.182 H 270.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2835A8
RGBrgb(40, 53, 168)
HSLhsl(234, 62%, 41%)
HSVhsv(234, 76%, 66%)
CMYKcmyk(76.2%, 68.5%, 0%, 34.1%)
CIE-LABlab(28.96, 35.88, -62.89)
CIE-LCHlch(28.96, 72.40, 299.71°)
OKLaboklab(40.22% 0.0012 -0.182)
OKLCHoklch(40.22% 0.182 270.4)
XYZxyz(9.2136, 5.8235, 37.6767)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2835A8 #A89B28
analogous
#2875A8 #2835A8 #5B28A8
triadic
#2835A8 #A82835 #35A828
tetradic
#2835A8 #A82875 #A89B28 #28A85B
square
#2835A8 #A82875 #A89B28 #28A85B
split-complementary
#2835A8 #A85B28 #75A828
monochromatic
#101645 #1C2577 #2835A8 #3D4CD1 #6E79DC

Accessibility & contrast

On white

9.70
#2835A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2835A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2835A8
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2835A8#FFFFFF#000000##FFFFFF
##2835A81.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2835a8;
/* rgb */ color: rgb(40, 53, 168);
/* oklch */ color: oklch(40.2% 0.182 270.4);
Tailwind
colors: {
  custom: {
    50: '#776cc3',
    500: '#2835a8',
    950: '#000000',
  },
}
SCSS
$custom: #2835a8;
$custom-light: #776cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2835a8",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 233.906,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.18198,
    "h": 270.4
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#2835A8
secondary
#C3BA69
accent
#D443E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2835A8

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

Preview Lab → · Contrast checker → · Palette generator →

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