#2D33AC#2D33AC

#2D33AC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.188 H 272.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2D33AC
RGBrgb(45, 51, 172)
HSLhsl(237, 59%, 43%)
HSVhsv(237, 74%, 67%)
CMYKcmyk(73.8%, 70.3%, 0%, 32.5%)
CIE-LABlab(29.17, 39.05, -64.95)
CIE-LCHlch(29.17, 75.78, 301.02°)
OKLaboklab(40.56% 0.0073 -0.1879)
OKLCHoklch(40.56% 0.188 272.2)
XYZxyz(9.7099, 5.9031, 39.6494)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33AC #ACA62D
analogous
#2D73AC #2D33AC #662DAC
triadic
#2D33AC #AC2D33 #33AC2D
tetradic
#2D33AC #AC2D73 #ACA62D #2DAC66
square
#2D33AC #AC2D73 #ACA62D #2DAC66
split-complementary
#2D33AC #AC662D #73AC2D
monochromatic
#14164B #20257B #2D33AC #474ECF #787CDC

Accessibility & contrast

On white

9.63
#2D33AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D33AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33AC
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33AC#FFFFFF#000000##FFFFFF
##2D33AC1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d33ac;
/* rgb */ color: rgb(45, 51, 172);
/* oklch */ color: oklch(40.6% 0.188 272.2);
Tailwind
colors: {
  custom: {
    50: '#7a6bc6',
    500: '#2d33ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d33ac;
$custom-light: #7a6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33ac",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 237.165,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.18802,
    "h": 272.2
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#2D33AC
secondary
#C4C071
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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