#2833B1#2833B1

#2833B1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.196 H 270.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2833B1
RGBrgb(40, 51, 177)
HSLhsl(235, 63%, 43%)
HSVhsv(235, 77%, 69%)
CMYKcmyk(77.4%, 71.2%, 0%, 30.6%)
CIE-LABlab(29.39, 40.32, -67.58)
CIE-LCHlch(29.39, 78.69, 300.83°)
OKLaboklab(40.79% 0.0013 -0.1957)
OKLCHoklch(40.79% 0.196 270.4)
XYZxyz(9.9920, 5.9920, 42.2164)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833B1 #B1A628
analogous
#2878B1 #2833B1 #6128B1
triadic
#2833B1 #B12833 #33B128
tetradic
#2833B1 #B12878 #B1A628 #28B161
square
#2833B1 #B12878 #B1A628 #28B161
split-complementary
#2833B1 #B16128 #78B128
monochromatic
#11164D #1D257F #2833B1 #424ED4 #747CE0

Accessibility & contrast

On white

9.55
#2833B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2833B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2833B1#FFFFFF#000000##FFFFFF
##2833B11.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2833b1;
/* rgb */ color: rgb(40, 51, 177);
/* oklch */ color: oklch(40.8% 0.196 270.4);
Tailwind
colors: {
  custom: {
    50: '#796bca',
    500: '#2833b1',
    950: '#000000',
  },
}
SCSS
$custom: #2833b1;
$custom-light: #796bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2833b1",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 235.182,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.19566,
    "h": 270.4
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#2833B1
secondary
#C7C06E
accent
#D942E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2833B1

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

Preview Lab → · Contrast checker → · Palette generator →

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