#2D33B8#2D33B8

#2D33B8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.8% C 0.203 H 271.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2D33B8
RGBrgb(45, 51, 184)
HSLhsl(237, 61%, 45%)
HSVhsv(237, 76%, 72%)
CMYKcmyk(75.5%, 72.3%, 0%, 27.8%)
CIE-LABlab(30.36, 43.19, -70.13)
CIE-LCHlch(30.36, 82.36, 301.63°)
OKLaboklab(41.78% 0.0056 -0.203)
OKLCHoklch(41.78% 0.203 271.6)
XYZxyz(10.9148, 6.3851, 45.9953)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33B8 #B8B22D
analogous
#2D79B8 #2D33B8 #6C2DB8
triadic
#2D33B8 #B82D33 #33B82D
tetradic
#2D33B8 #B82D79 #B8B22D #2DB86C
square
#2D33B8 #B82D79 #B8B22D #2DB86C
split-complementary
#2D33B8 #B86C2D #79B82D
monochromatic
#151856 #212587 #2D33B8 #4E54D4 #8084E0

Accessibility & contrast

On white

9.22
#2D33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33B8
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33B8#FFFFFF#000000##FFFFFF
##2D33B81.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d33b8;
/* rgb */ color: rgb(45, 51, 184);
/* oklch */ color: oklch(41.8% 0.203 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d6ccf',
    500: '#2d33b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d33b8;
$custom-light: #7d6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33b8",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 237.41,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41775,
    "c": 0.20307,
    "h": 271.6
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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