#2D33A4#2D33A4

#2D33A4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.178 H 272.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2D33A4
RGBrgb(45, 51, 164)
HSLhsl(237, 57%, 41%)
HSVhsv(237, 73%, 64%)
CMYKcmyk(72.6%, 68.9%, 0%, 35.7%)
CIE-LABlab(28.39, 36.25, -61.40)
CIE-LCHlch(28.39, 71.30, 300.55°)
OKLaboklab(39.76% 0.0083 -0.1775)
OKLCHoklch(39.76% 0.178 272.7)
XYZxyz(8.9646, 5.6050, 35.7242)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33A4 #A49E2D
analogous
#2D6EA4 #2D33A4 #622DA4
triadic
#2D33A4 #A42D33 #33A42D
tetradic
#2D33A4 #A42D6E #A49E2D #2DA462
square
#2D33A4 #A42D6E #A49E2D #2DA462
split-complementary
#2D33A4 #A4622D #6EA42D
monochromatic
#131544 #202474 #2D33A4 #434ACB #7378D9

Accessibility & contrast

On white

9.90
#2D33A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D33A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33A4
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33A4#FFFFFF#000000##FFFFFF
##2D33A41.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d33a4;
/* rgb */ color: rgb(45, 51, 164);
/* oklch */ color: oklch(39.8% 0.178 272.7);
Tailwind
colors: {
  custom: {
    50: '#786bc0',
    500: '#2d33a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d33a4;
$custom-light: #786bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33a4",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 236.975,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.17772,
    "h": 272.7
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#2D33A4
secondary
#C0BC6D
accent
#D948E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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