#3D30B2#3D30B2

#3D30B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.195 H 278.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3D30B2
RGBrgb(61, 48, 178)
HSLhsl(246, 58%, 44%)
HSVhsv(246, 73%, 70%)
CMYKcmyk(65.7%, 73%, 0%, 30.2%)
CIE-LABlab(30.20, 44.61, -66.79)
CIE-LCHlch(30.20, 80.32, 303.74°)
OKLaboklab(41.76% 0.028 -0.1928)
OKLCHoklch(41.76% 0.195 278.3)
XYZxyz(11.0147, 6.3194, 42.7502)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30B2 #A5B230
analogous
#3064B2 #3D30B2 #7E30B2
triadic
#3D30B2 #B23D30 #30B23D
tetradic
#3D30B2 #B23064 #A5B230 #30B27E
square
#3D30B2 #B23064 #A5B230 #30B27E
split-complementary
#3D30B2 #B27E30 #64B230
monochromatic
#1C1652 #2C2382 #3D30B2 #5C50D0 #8980DD

Accessibility & contrast

On white

9.28
#3D30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3D30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30B2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30B2#FFFFFF#000000##FFFFFF
##3D30B21.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d30b2;
/* rgb */ color: rgb(61, 48, 178);
/* oklch */ color: oklch(41.8% 0.195 278.3);
Tailwind
colors: {
  custom: {
    50: '#826aca',
    500: '#3d30b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d30b2;
$custom-light: #826aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30b2",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 246,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.19486,
    "h": 278.3
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#3D30B2
secondary
#BEC678
accent
#E147D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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