#2832A8#2832A8

#2832A8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.185 H 270.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2832A8
RGBrgb(40, 50, 168)
HSLhsl(235, 62%, 41%)
HSVhsv(235, 76%, 66%)
CMYKcmyk(76.2%, 70.2%, 0%, 34.1%)
CIE-LABlab(28.27, 37.76, -64.03)
CIE-LCHlch(28.27, 74.33, 300.53°)
OKLaboklab(39.72% 0.0029 -0.1853)
OKLCHoklch(39.72% 0.185 270.9)
XYZxyz(9.0812, 5.5585, 37.6325)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2832A8 #A89E28
analogous
#2872A8 #2832A8 #5E28A8
triadic
#2832A8 #A82832 #32A828
tetradic
#2832A8 #A82872 #A89E28 #28A85E
square
#2832A8 #A82872 #A89E28 #28A85E
split-complementary
#2832A8 #A85E28 #72A828
monochromatic
#101545 #1C2377 #2832A8 #3D48D1 #6E77DC

Accessibility & contrast

On white

9.94
#2832A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2832A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2832A8
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2832A8#FFFFFF#000000##FFFFFF
##2832A81.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.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: #2832a8;
/* rgb */ color: rgb(40, 50, 168);
/* oklch */ color: oklch(39.7% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#776ac3',
    500: '#2832a8',
    950: '#000000',
  },
}
SCSS
$custom: #2832a8;
$custom-light: #776ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2832a8",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 235.313,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39716,
    "c": 0.18533,
    "h": 270.9
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#2832A8
secondary
#C3BC69
accent
#D843E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2832A8

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

Preview Lab → · Contrast checker → · Palette generator →

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