#2833AB#2833AB

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

Color values

HEX#2833AB
RGBrgb(40, 51, 171)
HSLhsl(235, 62%, 41%)
HSVhsv(235, 77%, 67%)
CMYKcmyk(76.6%, 70.2%, 0%, 32.9%)
CIE-LABlab(28.79, 38.21, -64.97)
CIE-LCHlch(28.79, 75.37, 300.46°)
OKLaboklab(40.18% 0.002 -0.1881)
OKLCHoklch(40.18% 0.188 270.6)
XYZxyz(9.4071, 5.7580, 39.1358)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833AB #ABA028
analogous
#2875AB #2833AB #5F28AB
triadic
#2833AB #AB2833 #33AB28
tetradic
#2833AB #AB2875 #ABA028 #28AB5F
square
#2833AB #AB2875 #ABA028 #28AB5F
split-complementary
#2833AB #AB5F28 #75AB28
monochromatic
#111548 #1C2479 #2833AB #3E4BD2 #7079DE

Accessibility & contrast

On white

9.76
#2833AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2833AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2833AB#FFFFFF#000000##FFFFFF
##2833AB1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2833ab;
/* rgb */ color: rgb(40, 51, 171);
/* oklch */ color: oklch(40.2% 0.188 270.6);
Tailwind
colors: {
  custom: {
    50: '#786bc5',
    500: '#2833ab',
    950: '#000000',
  },
}
SCSS
$custom: #2833ab;
$custom-light: #786bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2833ab",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 234.962,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40183,
    "c": 0.18807,
    "h": 270.6
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#2833AB
secondary
#C4BD6A
accent
#D843E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2833AB

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

Preview Lab → · Contrast checker → · Palette generator →

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