#2D33A6#2D33A6

#2D33A6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.180 H 272.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2D33A6
RGBrgb(45, 51, 166)
HSLhsl(237, 57%, 41%)
HSVhsv(237, 73%, 65%)
CMYKcmyk(72.9%, 69.3%, 0%, 34.9%)
CIE-LABlab(28.58, 36.95, -62.30)
CIE-LCHlch(28.58, 72.43, 300.68°)
OKLaboklab(39.96% 0.008 -0.1801)
OKLCHoklch(39.96% 0.18 272.6)
XYZxyz(9.1466, 5.6778, 36.6829)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33A6 #A6A02D
analogous
#2D70A6 #2D33A6 #642DA6
triadic
#2D33A6 #A62D33 #33A62D
tetradic
#2D33A6 #A62D70 #A6A02D #2DA664
square
#2D33A6 #A62D70 #A6A02D #2DA664
split-complementary
#2D33A6 #A6642D #70A62D
monochromatic
#131546 #202476 #2D33A6 #444BCC #7479D9

Accessibility & contrast

On white

9.83
#2D33A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D33A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33A6
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33A6#FFFFFF#000000##FFFFFF
##2D33A61.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d33a6;
/* rgb */ color: rgb(45, 51, 166);
/* oklch */ color: oklch(40.0% 0.180 272.6);
Tailwind
colors: {
  custom: {
    50: '#786bc1',
    500: '#2d33a6',
    950: '#000000',
  },
}
SCSS
$custom: #2d33a6;
$custom-light: #786bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33a6",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 237.025,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3996,
    "c": 0.18032,
    "h": 272.6
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#2D33A6
secondary
#C1BD6E
accent
#D947E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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