#2D33A1#2D33A1

#2D33A1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.174 H 272.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2D33A1
RGBrgb(45, 51, 161)
HSLhsl(237, 56%, 40%)
HSVhsv(237, 72%, 63%)
CMYKcmyk(72%, 68.3%, 0%, 36.9%)
CIE-LABlab(28.11, 35.19, -60.05)
CIE-LCHlch(28.11, 69.60, 300.37°)
OKLaboklab(39.47% 0.0086 -0.1736)
OKLCHoklch(39.47% 0.174 272.8)
XYZxyz(8.6969, 5.4979, 34.3142)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33A1 #A19B2D
analogous
#2D6DA1 #2D33A1 #612DA1
triadic
#2D33A1 #A12D33 #33A12D
tetradic
#2D33A1 #A12D6D #A19B2D #2DA161
square
#2D33A1 #A12D6D #A19B2D #2DA161
split-complementary
#2D33A1 #A1612D #6DA12D
monochromatic
#121541 #202471 #2D33A1 #4148CA #7176D7

Accessibility & contrast

On white

10.00
#2D33A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D33A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33A1
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33A1#FFFFFF#000000##FFFFFF
##2D33A11.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d33a1;
/* rgb */ color: rgb(45, 51, 161);
/* oklch */ color: oklch(39.5% 0.174 272.8);
Tailwind
colors: {
  custom: {
    50: '#776bbe',
    500: '#2d33a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d33a1;
$custom-light: #776bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33a1",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 236.897,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3947,
    "c": 0.1738,
    "h": 272.8
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D33A1

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

Preview Lab → · Contrast checker → · Palette generator →

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