#2D33B5#2D33B5

#2D33B5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.199 H 271.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2D33B5
RGBrgb(45, 51, 181)
HSLhsl(237, 60%, 44%)
HSVhsv(237, 75%, 71%)
CMYKcmyk(75.1%, 71.8%, 0%, 29%)
CIE-LABlab(30.06, 42.16, -68.85)
CIE-LCHlch(30.06, 80.73, 301.48°)
OKLaboklab(41.47% 0.0061 -0.1993)
OKLCHoklch(41.47% 0.199 271.7)
XYZxyz(10.6037, 6.2606, 44.3567)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33B5 #B5AF2D
analogous
#2D77B5 #2D33B5 #6B2DB5
triadic
#2D33B5 #B52D33 #33B52D
tetradic
#2D33B5 #B52D77 #B5AF2D #2DB56B
square
#2D33B5 #B52D77 #B5AF2D #2DB56B
split-complementary
#2D33B5 #B56B2D #77B52D
monochromatic
#151753 #212584 #2D33B5 #4D52D3 #7E82DF

Accessibility & contrast

On white

9.32
#2D33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33B5
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33B5#FFFFFF#000000##FFFFFF
##2D33B51.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d33b5;
/* rgb */ color: rgb(45, 51, 181);
/* oklch */ color: oklch(41.5% 0.199 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c6ccc',
    500: '#2d33b5',
    950: '#000000',
  },
}
SCSS
$custom: #2d33b5;
$custom-light: #7c6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33b5",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 237.353,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41467,
    "c": 0.19935,
    "h": 271.7
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#2D33B5
secondary
#C7C476
accent
#DC44E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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