#3D33B8#3D33B8

#3D33B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.8% C 0.199 H 277.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3D33B8
RGBrgb(61, 51, 184)
HSLhsl(245, 57%, 46%)
HSVhsv(245, 72%, 72%)
CMYKcmyk(66.8%, 72.3%, 0%, 27.8%)
CIE-LABlab(31.39, 44.85, -68.40)
CIE-LCHlch(31.39, 81.79, 303.26°)
OKLaboklab(42.78% 0.0249 -0.1975)
OKLCHoklch(42.78% 0.199 277.2)
XYZxyz(11.7572, 6.8194, 46.0348)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D33B8 #AEB833
analogous
#336BB8 #3D33B8 #7F33B8
triadic
#3D33B8 #B83D33 #33B83D
tetradic
#3D33B8 #B8336B #AEB833 #33B87F
square
#3D33B8 #B8336B #AEB833 #33B87F
split-complementary
#3D33B8 #B87F33 #6BB833
monochromatic
#1D1858 #2D2688 #3D33B8 #6158D1 #8E88DE

Accessibility & contrast

On white

8.88
#3D33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3D33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D33B8
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D33B8#FFFFFF#000000##FFFFFF
##3D33B81.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d33b8;
/* rgb */ color: rgb(61, 51, 184);
/* oklch */ color: oklch(42.8% 0.199 277.2);
Tailwind
colors: {
  custom: {
    50: '#836ccf',
    500: '#3d33b8',
    950: '#000000',
  },
}
SCSS
$custom: #3d33b8;
$custom-light: #836ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d33b8",
  "rgb": {
    "r": 61,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 244.511,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.19912,
    "h": 277.2
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#3D33B8
secondary
#C2C87F
accent
#E048D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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