#2D33AE#2D33AE

#2D33AE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.191 H 272.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2D33AE
RGBrgb(45, 51, 174)
HSLhsl(237, 59%, 43%)
HSVhsv(237, 74%, 68%)
CMYKcmyk(74.1%, 70.7%, 0%, 31.8%)
CIE-LABlab(29.36, 39.75, -65.82)
CIE-LCHlch(29.36, 76.89, 301.13°)
OKLaboklab(40.76% 0.007 -0.1904)
OKLCHoklch(40.76% 0.191 272.1)
XYZxyz(9.9034, 5.9805, 40.6686)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33AE #AEA82D
analogous
#2D74AE #2D33AE #672DAE
triadic
#2D33AE #AE2D33 #33AE2D
tetradic
#2D33AE #AE2D74 #AEA82D #2DAE67
square
#2D33AE #AE2D74 #AEA82D #2DAE67
split-complementary
#2D33AE #AE672D #74AE2D
monochromatic
#14164D #20257D #2D33AE #484FD0 #797EDC

Accessibility & contrast

On white

9.56
#2D33AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D33AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33AE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33AE#FFFFFF#000000##FFFFFF
##2D33AE1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d33ae;
/* rgb */ color: rgb(45, 51, 174);
/* oklch */ color: oklch(40.8% 0.191 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a6bc7',
    500: '#2d33ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d33ae;
$custom-light: #7a6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33ae",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 237.209,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.19056,
    "h": 272.1
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#2D33AE
secondary
#C4C172
accent
#DB46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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