#2D33A8#2D33A8

#2D33A8 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.183 H 272.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2D33A8
RGBrgb(45, 51, 168)
HSLhsl(237, 58%, 42%)
HSVhsv(237, 73%, 66%)
CMYKcmyk(73.2%, 69.6%, 0%, 34.1%)
CIE-LABlab(28.78, 37.66, -63.18)
CIE-LCHlch(28.78, 73.55, 300.79°)
OKLaboklab(40.16% 0.0078 -0.1827)
OKLCHoklch(40.16% 0.183 272.4)
XYZxyz(9.3315, 5.7517, 37.6566)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33A8 #A8A22D
analogous
#2D71A8 #2D33A8 #652DA8
triadic
#2D33A8 #A82D33 #33A82D
tetradic
#2D33A8 #A82D71 #A8A22D #2DA865
square
#2D33A8 #A82D71 #A8A22D #2DA865
split-complementary
#2D33A8 #A8652D #71A82D
monochromatic
#131647 #202478 #2D33A8 #454CCD #757ADA

Accessibility & contrast

On white

9.76
#2D33A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D33A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33A8
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33A8#FFFFFF#000000##FFFFFF
##2D33A81.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d33a8;
/* rgb */ color: rgb(45, 51, 168);
/* oklch */ color: oklch(40.2% 0.183 272.4);
Tailwind
colors: {
  custom: {
    50: '#796bc3',
    500: '#2d33a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d33a8;
$custom-light: #796bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33a8",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 237.073,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.18291,
    "h": 272.4
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#2D33A8
secondary
#C2BE6F
accent
#D947E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2D33A8

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

Preview Lab → · Contrast checker → · Palette generator →

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