#2833A2#2833A2

#2833A2 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.176 H 271.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2833A2
RGBrgb(40, 51, 162)
HSLhsl(235, 60%, 40%)
HSVhsv(235, 75%, 64%)
CMYKcmyk(75.3%, 68.5%, 0%, 36.5%)
CIE-LABlab(27.92, 34.98, -60.99)
CIE-LCHlch(27.92, 70.31, 299.84°)
OKLaboklab(39.28% 0.003 -0.1764)
OKLCHoklch(39.28% 0.176 271)
XYZxyz(8.5783, 5.4265, 34.7707)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833A2 #A29728
analogous
#2870A2 #2833A2 #5A28A2
triadic
#2833A2 #A22833 #33A228
tetradic
#2833A2 #A22870 #A29728 #28A25A
square
#2833A2 #A22870 #A29728 #28A25A
split-complementary
#2833A2 #A25A28 #70A228
monochromatic
#101440 #1C2471 #2833A2 #3947CE #6A74DA

Accessibility & contrast

On white

10.07
#2833A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2833A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2833A2#FFFFFF#000000##FFFFFF
##2833A21.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2833a2;
/* rgb */ color: rgb(40, 51, 162);
/* oklch */ color: oklch(39.3% 0.176 271.0);
Tailwind
colors: {
  custom: {
    50: '#766bbf',
    500: '#2833a2',
    950: '#000000',
  },
}
SCSS
$custom: #2833a2;
$custom-light: #766bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2833a2",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 234.59,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39283,
    "c": 0.17645,
    "h": 271
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#2833A2
secondary
#C1B865
accent
#D544E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2833A2

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

Preview Lab → · Contrast checker → · Palette generator →

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