#2D28AE#2D28AE

#2D28AE is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.202 H 273.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2D28AE
RGBrgb(45, 40, 174)
HSLhsl(242, 63%, 42%)
HSVhsv(242, 77%, 68%)
CMYKcmyk(74.1%, 77%, 0%, 31.8%)
CIE-LABlab(27.10, 46.07, -69.55)
CIE-LCHlch(27.10, 83.43, 303.52°)
OKLaboklab(39.15% 0.0124 -0.2012)
OKLCHoklch(39.15% 0.202 273.5)
XYZxyz(9.4784, 5.1305, 40.5269)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D28AE #A9AE28
analogous
#2866AE #2D28AE #7028AE
triadic
#2D28AE #AE2D28 #28AE2D
tetradic
#2D28AE #AE2866 #A9AE28 #28AE70
square
#2D28AE #AE2866 #A9AE28 #28AE70
split-complementary
#2D28AE #AE7028 #66AE28
monochromatic
#13114A #201D7C #2D28AE #4640D3 #7672DF

Accessibility & contrast

On white

10.36
#2D28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D28AE
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D28AE#FFFFFF#000000##FFFFFF
##2D28AE1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d28ae;
/* rgb */ color: rgb(45, 40, 174);
/* oklch */ color: oklch(39.1% 0.202 273.5);
Tailwind
colors: {
  custom: {
    50: '#7b64c7',
    500: '#2d28ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d28ae;
$custom-light: #7b64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d28ae",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 242.239,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39148,
    "c": 0.2016,
    "h": 273.5
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#2D28AE
secondary
#C2C66C
accent
#E642E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D28AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2D28AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva