#2833AF#2833AF

#2833AF is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.193 H 270.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2833AF
RGBrgb(40, 51, 175)
HSLhsl(235, 63%, 42%)
HSVhsv(235, 77%, 69%)
CMYKcmyk(77.1%, 70.9%, 0%, 31.4%)
CIE-LABlab(29.19, 39.62, -66.71)
CIE-LCHlch(29.19, 77.59, 300.71°)
OKLaboklab(40.59% 0.0015 -0.1931)
OKLCHoklch(40.59% 0.193 270.5)
XYZxyz(9.7941, 5.9128, 41.1742)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833AF #AFA428
analogous
#2877AF #2833AF #6128AF
triadic
#2833AF #AF2833 #33AF28
tetradic
#2833AF #AF2877 #AFA428 #28AF61
square
#2833AF #AF2877 #AFA428 #28AF61
split-complementary
#2833AF #AF6128 #77AF28
monochromatic
#11164B #1D247D #2833AF #414DD4 #737BDF

Accessibility & contrast

On white

9.62
#2833AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2833AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2833AF#FFFFFF#000000##FFFFFF
##2833AF1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2833af;
/* rgb */ color: rgb(40, 51, 175);
/* oklch */ color: oklch(40.6% 0.193 270.5);
Tailwind
colors: {
  custom: {
    50: '#796bc8',
    500: '#2833af',
    950: '#000000',
  },
}
SCSS
$custom: #2833af;
$custom-light: #796bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2833af",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 235.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4059,
    "c": 0.19315,
    "h": 270.5
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#2833AF
secondary
#C6BF6D
accent
#D842E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2833AF

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

Preview Lab → · Contrast checker → · Palette generator →

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