#2833A5#2833A5

#2833A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.180 H 270.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2833A5
RGBrgb(40, 51, 165)
HSLhsl(235, 61%, 40%)
HSVhsv(235, 76%, 65%)
CMYKcmyk(75.8%, 69.1%, 0%, 35.3%)
CIE-LABlab(28.21, 36.06, -62.32)
CIE-LCHlch(28.21, 72.01, 300.06°)
OKLaboklab(39.58% 0.0027 -0.1803)
OKLCHoklch(39.58% 0.18 270.8)
XYZxyz(8.8481, 5.5344, 36.1920)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833A5 #A59A28
analogous
#2871A5 #2833A5 #5B28A5
triadic
#2833A5 #A52833 #33A528
tetradic
#2833A5 #A52871 #A59A28 #28A55B
square
#2833A5 #A52871 #A59A28 #28A55B
split-complementary
#2833A5 #A55B28 #71A528
monochromatic
#101542 #1C2474 #2833A5 #3B48CF #6C76DB

Accessibility & contrast

On white

9.97
#2833A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2833A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2833A5#FFFFFF#000000##FFFFFF
##2833A51.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2833a5;
/* rgb */ color: rgb(40, 51, 165);
/* oklch */ color: oklch(39.6% 0.180 270.8);
Tailwind
colors: {
  custom: {
    50: '#766bc1',
    500: '#2833a5',
    950: '#000000',
  },
}
SCSS
$custom: #2833a5;
$custom-light: #766bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2833a5",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 234.72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39581,
    "c": 0.18036,
    "h": 270.8
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#2833A5
secondary
#C2BA67
accent
#D644E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2833A5

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

Preview Lab → · Contrast checker → · Palette generator →

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