#2D33A2#2D33A2

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

Color values

HEX#2D33A2
RGBrgb(45, 51, 162)
HSLhsl(237, 57%, 41%)
HSVhsv(237, 72%, 64%)
CMYKcmyk(72.2%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.20, 35.54, -60.50)
CIE-LCHlch(28.20, 70.17, 300.43°)
OKLaboklab(39.57% 0.0085 -0.1749)
OKLCHoklch(39.57% 0.175 272.8)
XYZxyz(8.7854, 5.5333, 34.7804)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33A2 #A29C2D
analogous
#2D6DA2 #2D33A2 #612DA2
triadic
#2D33A2 #A22D33 #33A22D
tetradic
#2D33A2 #A22D6D #A29C2D #2DA261
square
#2D33A2 #A22D6D #A29C2D #2DA261
split-complementary
#2D33A2 #A2612D #6DA22D
monochromatic
#121542 #202472 #2D33A2 #4249CA #7277D8

Accessibility & contrast

On white

9.97
#2D33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D33A2
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33A2#FFFFFF#000000##FFFFFF
##2D33A21.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d33a2;
/* rgb */ color: rgb(45, 51, 162);
/* oklch */ color: oklch(39.6% 0.175 272.8);
Tailwind
colors: {
  custom: {
    50: '#776bbf',
    500: '#2d33a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d33a2;
$custom-light: #776bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33a2",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 236.923,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.17512,
    "h": 272.8
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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