#2D33B4#2D33B4

#2D33B4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.198 H 271.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2D33B4
RGBrgb(45, 51, 180)
HSLhsl(237, 60%, 44%)
HSVhsv(237, 75%, 71%)
CMYKcmyk(75%, 71.7%, 0%, 29.4%)
CIE-LABlab(29.96, 41.82, -68.42)
CIE-LCHlch(29.96, 80.19, 301.43°)
OKLaboklab(41.37% 0.0062 -0.198)
OKLCHoklch(41.37% 0.198 271.8)
XYZxyz(10.5014, 6.2197, 43.8182)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33B4 #B4AE2D
analogous
#2D77B4 #2D33B4 #6B2DB4
triadic
#2D33B4 #B42D33 #33B42D
tetradic
#2D33B4 #B42D77 #B4AE2D #2DB46B
square
#2D33B4 #B42D77 #B4AE2D #2DB46B
split-complementary
#2D33B4 #B46B2D #77B42D
monochromatic
#151752 #212583 #2D33B4 #4C52D2 #7D81DE

Accessibility & contrast

On white

9.36
#2D33B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D33B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33B4
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33B4#FFFFFF#000000##FFFFFF
##2D33B41.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d33b4;
/* rgb */ color: rgb(45, 51, 180);
/* oklch */ color: oklch(41.4% 0.198 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c6ccc',
    500: '#2d33b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d33b4;
$custom-light: #7c6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33b4",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 237.333,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.19811,
    "h": 271.8
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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