#2833AD#2833AD

#2833AD is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.191 H 270.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2833AD
RGBrgb(40, 51, 173)
HSLhsl(235, 62%, 42%)
HSVhsv(235, 77%, 68%)
CMYKcmyk(76.9%, 70.5%, 0%, 32.2%)
CIE-LABlab(28.99, 38.91, -65.84)
CIE-LCHlch(28.99, 76.48, 300.58°)
OKLaboklab(40.39% 0.0018 -0.1906)
OKLCHoklch(40.39% 0.191 270.5)
XYZxyz(9.5992, 5.8349, 40.1474)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833AD #ADA228
analogous
#2875AD #2833AD #6028AD
triadic
#2833AD #AD2833 #33AD28
tetradic
#2833AD #AD2875 #ADA228 #28AD60
square
#2833AD #AD2875 #ADA228 #28AD60
split-complementary
#2833AD #AD6028 #75AD28
monochromatic
#11164A #1D247B #2833AD #3F4CD3 #717ADE

Accessibility & contrast

On white

9.69
#2833AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2833AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2833AD
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2833AD#FFFFFF#000000##FFFFFF
##2833AD1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2833ad;
/* rgb */ color: rgb(40, 51, 173);
/* oklch */ color: oklch(40.4% 0.191 270.5);
Tailwind
colors: {
  custom: {
    50: '#786bc7',
    500: '#2833ad',
    950: '#000000',
  },
}
SCSS
$custom: #2833ad;
$custom-light: #786bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2833ad",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 235.038,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.19062,
    "h": 270.5
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#2833AD
secondary
#C5BE6C
accent
#D842E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2833AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2833AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva