#2D32BC#2D32BC

#2D32BC is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.209 H 271.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2D32BC
RGBrgb(45, 50, 188)
HSLhsl(238, 61%, 46%)
HSVhsv(238, 76%, 74%)
CMYKcmyk(76.1%, 73.4%, 0%, 26.3%)
CIE-LABlab(30.57, 45.12, -72.16)
CIE-LCHlch(30.57, 85.11, 302.02°)
OKLaboklab(42.04% 0.0055 -0.2089)
OKLCHoklch(42.04% 0.209 271.5)
XYZxyz(11.2968, 6.4687, 48.2204)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32BC #BCB72D
analogous
#2D79BC #2D32BC #6F2DBC
triadic
#2D32BC #BC2D32 #32BC2D
tetradic
#2D32BC #BC2D79 #BCB72D #2DBC6F
square
#2D32BC #BC2D79 #BCB72D #2DBC6F
split-complementary
#2D32BC #BC6F2D #79BC2D
monochromatic
#151859 #21258B #2D32BC #5156D5 #8286E1

Accessibility & contrast

On white

9.15
#2D32BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D32BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32BC
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32BC#FFFFFF#000000##FFFFFF
##2D32BC1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#0041BA
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d32bc;
/* rgb */ color: rgb(45, 50, 188);
/* oklch */ color: oklch(42.0% 0.209 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e6bd1',
    500: '#2d32bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d32bc;
$custom-light: #7e6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32bc",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 237.902,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42041,
    "c": 0.20898,
    "h": 271.5
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#2D32BC
secondary
#CAC77B
accent
#DF43E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2D32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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