#3D33A2#3D33A2

#3D33A2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.171 H 279.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3D33A2
RGBrgb(61, 51, 162)
HSLhsl(245, 52%, 42%)
HSVhsv(245, 69%, 64%)
CMYKcmyk(62.3%, 68.5%, 0%, 36.5%)
CIE-LABlab(29.33, 37.69, -58.61)
CIE-LCHlch(29.33, 69.68, 302.74°)
OKLaboklab(40.67% 0.0286 -0.1689)
OKLCHoklch(40.67% 0.171 279.6)
XYZxyz(9.6278, 5.9677, 34.8199)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D33A2 #98A233
analogous
#3361A2 #3D33A2 #7533A2
triadic
#3D33A2 #A23D33 #33A23D
tetradic
#3D33A2 #A23361 #98A233 #33A275
square
#3D33A2 #A23361 #98A233 #33A275
split-complementary
#3D33A2 #A27533 #61A233
monochromatic
#1A1645 #2B2473 #3D33A2 #574CC7 #827AD5

Accessibility & contrast

On white

9.57
#3D33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3D33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D33A2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D33A2#FFFFFF#000000##FFFFFF
##3D33A21.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d33a2;
/* rgb */ color: rgb(61, 51, 162);
/* oklch */ color: oklch(40.7% 0.171 279.6);
Tailwind
colors: {
  custom: {
    50: '#7e6cbf',
    500: '#3d33a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d33a2;
$custom-light: #7e6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d33a2",
  "rgb": {
    "r": 61,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 245.405,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40675,
    "c": 0.17133,
    "h": 279.6
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#3D33A2
secondary
#B7BE73
accent
#DC4CCF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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