#2D33A5#2D33A5

#2D33A5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.179 H 272.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2D33A5
RGBrgb(45, 51, 165)
HSLhsl(237, 57%, 41%)
HSVhsv(237, 73%, 65%)
CMYKcmyk(72.7%, 69.1%, 0%, 35.3%)
CIE-LABlab(28.49, 36.60, -61.85)
CIE-LCHlch(28.49, 71.87, 300.62°)
OKLaboklab(39.86% 0.0081 -0.1788)
OKLCHoklch(39.86% 0.179 272.6)
XYZxyz(9.0553, 5.6412, 36.2017)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33A5 #A59F2D
analogous
#2D6FA5 #2D33A5 #632DA5
triadic
#2D33A5 #A52D33 #33A52D
tetradic
#2D33A5 #A52D6F #A59F2D #2DA563
square
#2D33A5 #A52D6F #A59F2D #2DA563
split-complementary
#2D33A5 #A5632D #6FA52D
monochromatic
#131545 #202475 #2D33A5 #434ACC #7379D9

Accessibility & contrast

On white

9.87
#2D33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D33A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33A5
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33A5#FFFFFF#000000##FFFFFF
##2D33A51.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d33a5;
/* rgb */ color: rgb(45, 51, 165);
/* oklch */ color: oklch(39.9% 0.179 272.6);
Tailwind
colors: {
  custom: {
    50: '#786bc1',
    500: '#2d33a5',
    950: '#000000',
  },
}
SCSS
$custom: #2d33a5;
$custom-light: #786bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33a5",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 237,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.17903,
    "h": 272.6
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#2D33A5
secondary
#C1BC6D
accent
#D947E0
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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