#2D33B3#2D33B3

#2D33B3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.197 H 271.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2D33B3
RGBrgb(45, 51, 179)
HSLhsl(237, 60%, 44%)
HSVhsv(237, 75%, 70%)
CMYKcmyk(74.9%, 71.5%, 0%, 29.8%)
CIE-LABlab(29.86, 41.48, -67.99)
CIE-LCHlch(29.86, 79.64, 301.39°)
OKLaboklab(41.26% 0.0063 -0.1967)
OKLCHoklch(41.26% 0.197 271.8)
XYZxyz(10.3999, 6.1791, 43.2837)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33B3 #B3AD2D
analogous
#2D76B3 #2D33B3 #6A2DB3
triadic
#2D33B3 #B32D33 #33B32D
tetradic
#2D33B3 #B32D76 #B3AD2D #2DB36A
square
#2D33B3 #B32D76 #B3AD2D #2DB36A
split-complementary
#2D33B3 #B36A2D #76B32D
monochromatic
#141751 #212582 #2D33B3 #4B51D2 #7C81DE

Accessibility & contrast

On white

9.39
#2D33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33B3
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33B3#FFFFFF#000000##FFFFFF
##2D33B31.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d33b3;
/* rgb */ color: rgb(45, 51, 179);
/* oklch */ color: oklch(41.3% 0.197 271.8);
Tailwind
colors: {
  custom: {
    50: '#7b6ccb',
    500: '#2d33b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d33b3;
$custom-light: #7b6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33b3",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 237.313,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.19685,
    "h": 271.8
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#2D33B3
secondary
#C7C375
accent
#DC45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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