#2833AC#2833AC

#2833AC is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.189 H 270.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2833AC
RGBrgb(40, 51, 172)
HSLhsl(235, 62%, 42%)
HSVhsv(235, 77%, 67%)
CMYKcmyk(76.7%, 70.3%, 0%, 32.5%)
CIE-LABlab(28.89, 38.56, -65.41)
CIE-LCHlch(28.89, 75.93, 300.52°)
OKLaboklab(40.28% 0.0019 -0.1893)
OKLCHoklch(40.28% 0.189 270.6)
XYZxyz(9.5028, 5.7963, 39.6397)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833AC #ACA128
analogous
#2875AC #2833AC #5F28AC
triadic
#2833AC #AC2833 #33AC28
tetradic
#2833AC #AC2875 #ACA128 #28AC5F
square
#2833AC #AC2875 #ACA128 #28AC5F
split-complementary
#2833AC #AC5F28 #75AC28
monochromatic
#111649 #1C247A #2833AC #3F4BD2 #717ADE

Accessibility & contrast

On white

9.72
#2833AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2833AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2833AC
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2833AC#FFFFFF#000000##FFFFFF
##2833AC1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#003EAA
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2833ac;
/* rgb */ color: rgb(40, 51, 172);
/* oklch */ color: oklch(40.3% 0.189 270.6);
Tailwind
colors: {
  custom: {
    50: '#786bc6',
    500: '#2833ac',
    950: '#000000',
  },
}
SCSS
$custom: #2833ac;
$custom-light: #786bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2833ac",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 235,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.18935,
    "h": 270.6
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#2833AC
secondary
#C5BD6B
accent
#D842E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2833AC

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

Preview Lab → · Contrast checker → · Palette generator →

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