#2D33B7#2D33B7

#2D33B7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.202 H 271.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2D33B7
RGBrgb(45, 51, 183)
HSLhsl(237, 61%, 45%)
HSVhsv(237, 75%, 72%)
CMYKcmyk(75.4%, 72.1%, 0%, 28.2%)
CIE-LABlab(30.26, 42.85, -69.70)
CIE-LCHlch(30.26, 81.82, 301.58°)
OKLaboklab(41.67% 0.0058 -0.2018)
OKLCHoklch(41.67% 0.202 271.6)
XYZxyz(10.8104, 6.3433, 45.4452)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33B7 #B7B12D
analogous
#2D78B7 #2D33B7 #6C2DB7
triadic
#2D33B7 #B72D33 #33B72D
tetradic
#2D33B7 #B72D78 #B7B12D #2DB76C
square
#2D33B7 #B72D78 #B7B12D #2DB76C
split-complementary
#2D33B7 #B76C2D #78B72D
monochromatic
#151855 #212586 #2D33B7 #4E54D3 #7F83DF

Accessibility & contrast

On white

9.26
#2D33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33B7
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33B7#FFFFFF#000000##FFFFFF
##2D33B71.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d33b7;
/* rgb */ color: rgb(45, 51, 183);
/* oklch */ color: oklch(41.7% 0.202 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c6cce',
    500: '#2d33b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d33b7;
$custom-light: #7c6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33b7",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 237.391,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.20183,
    "h": 271.6
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#2D33B7
secondary
#C8C578
accent
#DD44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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