#2D33A3#2D33A3

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

Color values

HEX#2D33A3
RGBrgb(45, 51, 163)
HSLhsl(237, 57%, 41%)
HSVhsv(237, 72%, 64%)
CMYKcmyk(72.4%, 68.7%, 0%, 36.1%)
CIE-LABlab(28.30, 35.89, -60.95)
CIE-LCHlch(28.30, 70.74, 300.49°)
OKLaboklab(39.67% 0.0084 -0.1762)
OKLCHoklch(39.67% 0.176 272.7)
XYZxyz(8.8747, 5.5690, 35.2505)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33A3 #A39D2D
analogous
#2D6EA3 #2D33A3 #622DA3
triadic
#2D33A3 #A32D33 #33A32D
tetradic
#2D33A3 #A32D6E #A39D2D #2DA362
square
#2D33A3 #A32D6E #A39D2D #2DA362
split-complementary
#2D33A3 #A3622D #6EA32D
monochromatic
#131543 #202473 #2D33A3 #4249CB #7277D8

Accessibility & contrast

On white

9.93
#2D33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D33A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33A3
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33A3#FFFFFF#000000##FFFFFF
##2D33A31.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d33a3;
/* rgb */ color: rgb(45, 51, 163);
/* oklch */ color: oklch(39.7% 0.176 272.7);
Tailwind
colors: {
  custom: {
    50: '#786bbf',
    500: '#2d33a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d33a3;
$custom-light: #786bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33a3",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 236.949,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39665,
    "c": 0.17642,
    "h": 272.7
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#2D33A3
secondary
#C0BB6C
accent
#D848E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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