#2D33AB#2D33AB

#2D33AB is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.187 H 272.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2D33AB
RGBrgb(45, 51, 171)
HSLhsl(237, 58%, 42%)
HSVhsv(237, 74%, 67%)
CMYKcmyk(73.7%, 70.2%, 0%, 32.9%)
CIE-LABlab(29.07, 38.71, -64.51)
CIE-LCHlch(29.07, 75.23, 300.96°)
OKLaboklab(40.46% 0.0074 -0.1866)
OKLCHoklch(40.46% 0.187 272.3)
XYZxyz(9.6142, 5.8648, 39.1455)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33AB #ABA52D
analogous
#2D72AB #2D33AB #662DAB
triadic
#2D33AB #AB2D33 #33AB2D
tetradic
#2D33AB #AB2D72 #ABA52D #2DAB66
square
#2D33AB #AB2D72 #ABA52D #2DAB66
split-complementary
#2D33AB #AB662D #72AB2D
monochromatic
#14164A #20257B #2D33AB #474DCE #777CDB

Accessibility & contrast

On white

9.66
#2D33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2D33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33AB
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33AB#FFFFFF#000000##FFFFFF
##2D33AB1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d33ab;
/* rgb */ color: rgb(45, 51, 171);
/* oklch */ color: oklch(40.5% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a6bc5',
    500: '#2d33ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d33ab;
$custom-light: #7a6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33ab",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 237.143,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40456,
    "c": 0.18675,
    "h": 272.3
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#2D33AB
secondary
#C3BF71
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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