#2D33A9#2D33A9

#2D33A9 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.184 H 272.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2D33A9
RGBrgb(45, 51, 169)
HSLhsl(237, 58%, 42%)
HSVhsv(237, 73%, 66%)
CMYKcmyk(73.4%, 69.8%, 0%, 33.7%)
CIE-LABlab(28.87, 38.01, -63.63)
CIE-LCHlch(28.87, 74.11, 300.85°)
OKLaboklab(40.26% 0.0077 -0.184)
OKLCHoklch(40.26% 0.184 272.4)
XYZxyz(9.4250, 5.7892, 38.1491)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33A9 #A9A32D
analogous
#2D71A9 #2D33A9 #652DA9
triadic
#2D33A9 #A92D33 #33A92D
tetradic
#2D33A9 #A92D71 #A9A32D #2DA965
square
#2D33A9 #A92D71 #A9A32D #2DA965
split-complementary
#2D33A9 #A9652D #71A92D
monochromatic
#131648 #202479 #2D33A9 #464CCE #767BDA

Accessibility & contrast

On white

9.73
#2D33A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D33A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33A9
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33A9#FFFFFF#000000##FFFFFF
##2D33A91.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d33a9;
/* rgb */ color: rgb(45, 51, 169);
/* oklch */ color: oklch(40.3% 0.184 272.4);
Tailwind
colors: {
  custom: {
    50: '#796bc4',
    500: '#2d33a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d33a9;
$custom-light: #796bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33a9",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 237.097,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40257,
    "c": 0.18419,
    "h": 272.4
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#2D33A9
secondary
#C2BE6F
accent
#DA47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D33A9

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

Preview Lab → · Contrast checker → · Palette generator →

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