#2833AA#2833AA

#2833AA is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.187 H 270.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2833AA
RGBrgb(40, 51, 170)
HSLhsl(235, 62%, 41%)
HSVhsv(235, 76%, 67%)
CMYKcmyk(76.5%, 70%, 0%, 33.3%)
CIE-LABlab(28.69, 37.85, -64.53)
CIE-LCHlch(28.69, 74.81, 300.39°)
OKLaboklab(40.08% 0.0021 -0.1868)
OKLCHoklch(40.08% 0.187 270.6)
XYZxyz(9.3121, 5.7200, 38.6357)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833AA #AA9F28
analogous
#2874AA #2833AA #5E28AA
triadic
#2833AA #AA2833 #33AA28
tetradic
#2833AA #AA2874 #AA9F28 #28AA5E
square
#2833AA #AA2874 #AA9F28 #28AA5E
split-complementary
#2833AA #AA5E28 #74AA28
monochromatic
#111547 #1C2478 #2833AA #3E4AD2 #6F79DD

Accessibility & contrast

On white

9.79
#2833AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2833AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2833AA#FFFFFF#000000##FFFFFF
##2833AA1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2833aa;
/* rgb */ color: rgb(40, 51, 170);
/* oklch */ color: oklch(40.1% 0.187 270.6);
Tailwind
colors: {
  custom: {
    50: '#776bc4',
    500: '#2833aa',
    950: '#000000',
  },
}
SCSS
$custom: #2833aa;
$custom-light: #776bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2833aa",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 234.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40082,
    "c": 0.18679,
    "h": 270.6
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#2833AA
secondary
#C4BC6A
accent
#D743E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2833AA

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

Preview Lab → · Contrast checker → · Palette generator →

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