#2833AE#2833AE

#2833AE is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.192 H 270.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2833AE
RGBrgb(40, 51, 174)
HSLhsl(235, 63%, 42%)
HSVhsv(235, 77%, 68%)
CMYKcmyk(77%, 70.7%, 0%, 31.8%)
CIE-LABlab(29.09, 39.27, -66.28)
CIE-LCHlch(29.09, 77.04, 300.65°)
OKLaboklab(40.49% 0.0017 -0.1919)
OKLCHoklch(40.49% 0.192 270.5)
XYZxyz(9.6963, 5.8737, 40.6589)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833AE #AEA328
analogous
#2876AE #2833AE #6028AE
triadic
#2833AE #AE2833 #33AE28
tetradic
#2833AE #AE2876 #AEA328 #28AE60
square
#2833AE #AE2876 #AEA328 #28AE60
split-complementary
#2833AE #AE6028 #76AE28
monochromatic
#11164A #1D247C #2833AE #404CD3 #727BDF

Accessibility & contrast

On white

9.66
#2833AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2833AE
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2833AE#FFFFFF#000000##FFFFFF
##2833AE1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2833ae;
/* rgb */ color: rgb(40, 51, 174);
/* oklch */ color: oklch(40.5% 0.192 270.5);
Tailwind
colors: {
  custom: {
    50: '#786bc7',
    500: '#2833ae',
    950: '#000000',
  },
}
SCSS
$custom: #2833ae;
$custom-light: #786bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2833ae",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 235.075,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.19189,
    "h": 270.5
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2833AE

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

Preview Lab → · Contrast checker → · Palette generator →

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