#2835B0#2835B0

#2835B0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.192 H 270.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2835B0
RGBrgb(40, 53, 176)
HSLhsl(234, 63%, 42%)
HSVhsv(234, 77%, 69%)
CMYKcmyk(77.3%, 69.9%, 0%, 31%)
CIE-LABlab(29.74, 38.75, -66.41)
CIE-LCHlch(29.74, 76.88, 300.26°)
OKLaboklab(41.02% 0.0004 -0.1922)
OKLCHoklch(41.02% 0.192 270.1)
XYZxyz(9.9820, 6.1308, 41.7232)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2835B0 #B0A328
analogous
#2879B0 #2835B0 #5F28B0
triadic
#2835B0 #B02835 #35B028
tetradic
#2835B0 #B02879 #B0A328 #28B05F
square
#2835B0 #B02879 #B0A328 #28B05F
split-complementary
#2835B0 #B05F28 #79B028
monochromatic
#11174C #1D267E #2835B0 #414FD4 #737EDF

Accessibility & contrast

On white

9.43
#2835B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2835B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2835B0
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2835B0#FFFFFF#000000##FFFFFF
##2835B01.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2835b0;
/* rgb */ color: rgb(40, 53, 176);
/* oklch */ color: oklch(41.0% 0.192 270.1);
Tailwind
colors: {
  custom: {
    50: '#796dc9',
    500: '#2835b0',
    950: '#000000',
  },
}
SCSS
$custom: #2835b0;
$custom-light: #796dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2835b0",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 234.265,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.19225,
    "h": 270.1
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2835B0

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

Preview Lab → · Contrast checker → · Palette generator →

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