#2D33B2#2D33B2

#2D33B2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.196 H 271.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2D33B2
RGBrgb(45, 51, 178)
HSLhsl(237, 60%, 44%)
HSVhsv(237, 75%, 70%)
CMYKcmyk(74.7%, 71.3%, 0%, 30.2%)
CIE-LABlab(29.76, 41.13, -67.56)
CIE-LCHlch(29.76, 79.09, 301.34°)
OKLaboklab(41.16% 0.0065 -0.1955)
OKLCHoklch(41.16% 0.196 271.9)
XYZxyz(10.2992, 6.1388, 42.7530)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33B2 #B2AC2D
analogous
#2D75B2 #2D33B2 #692DB2
triadic
#2D33B2 #B22D33 #33B22D
tetradic
#2D33B2 #B22D75 #B2AC2D #2DB269
square
#2D33B2 #B22D75 #B2AC2D #2DB269
split-complementary
#2D33B2 #B2692D #75B22D
monochromatic
#141750 #212581 #2D33B2 #4B51D1 #7C80DE

Accessibility & contrast

On white

9.43
#2D33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33B2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33B2#FFFFFF#000000##FFFFFF
##2D33B21.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d33b2;
/* rgb */ color: rgb(45, 51, 178);
/* oklch */ color: oklch(41.2% 0.196 271.9);
Tailwind
colors: {
  custom: {
    50: '#7b6cca',
    500: '#2d33b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d33b2;
$custom-light: #7b6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33b2",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 237.293,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41161,
    "c": 0.19561,
    "h": 271.9
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#2D33B2
secondary
#C6C275
accent
#DC45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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