#2833A8#2833A8

#2833A8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.184 H 270.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2833A8
RGBrgb(40, 51, 168)
HSLhsl(235, 62%, 41%)
HSVhsv(235, 76%, 66%)
CMYKcmyk(76.2%, 69.6%, 0%, 34.1%)
CIE-LABlab(28.50, 37.14, -63.65)
CIE-LCHlch(28.50, 73.70, 300.26°)
OKLaboklab(39.88% 0.0023 -0.1842)
OKLCHoklch(39.88% 0.184 270.7)
XYZxyz(9.1244, 5.6449, 37.6469)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2833A8 #A89D28
analogous
#2873A8 #2833A8 #5D28A8
triadic
#2833A8 #A82833 #33A828
tetradic
#2833A8 #A82873 #A89D28 #28A85D
square
#2833A8 #A82873 #A89D28 #28A85D
split-complementary
#2833A8 #A85D28 #73A828
monochromatic
#101545 #1C2477 #2833A8 #3D49D1 #6E77DC

Accessibility & contrast

On white

9.86
#2833A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2833A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2833A8
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2833A8#FFFFFF#000000##FFFFFF
##2833A81.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2833a8;
/* rgb */ color: rgb(40, 51, 168);
/* oklch */ color: oklch(39.9% 0.184 270.7);
Tailwind
colors: {
  custom: {
    50: '#776bc3',
    500: '#2833a8',
    950: '#000000',
  },
}
SCSS
$custom: #2833a8;
$custom-light: #776bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2833a8",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 234.844,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39881,
    "c": 0.18423,
    "h": 270.7
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#2833A8
secondary
#C3BB69
accent
#D743E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2833A8

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

Preview Lab → · Contrast checker → · Palette generator →

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