#3D30B7#3D30B7

#3D30B7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.201 H 277.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3D30B7
RGBrgb(61, 48, 183)
HSLhsl(246, 58%, 45%)
HSVhsv(246, 74%, 72%)
CMYKcmyk(66.7%, 73.8%, 0%, 28.2%)
CIE-LABlab(30.70, 46.20, -68.95)
CIE-LCHlch(30.70, 83.00, 303.83°)
OKLaboklab(42.26% 0.027 -0.1991)
OKLCHoklch(42.26% 0.201 277.7)
XYZxyz(11.5259, 6.5239, 45.4424)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30B7 #AAB730
analogous
#3066B7 #3D30B7 #8130B7
triadic
#3D30B7 #B73D30 #30B73D
tetradic
#3D30B7 #B73066 #AAB730 #30B781
square
#3D30B7 #B73066 #AAB730 #30B781
split-complementary
#3D30B7 #B78130 #66B730
monochromatic
#1D1756 #2D2387 #3D30B7 #5F52D2 #8C83DE

Accessibility & contrast

On white

9.11
#3D30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3D30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30B7
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30B7#FFFFFF#000000##FFFFFF
##3D30B71.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d30b7;
/* rgb */ color: rgb(61, 48, 183);
/* oklch */ color: oklch(42.3% 0.201 277.7);
Tailwind
colors: {
  custom: {
    50: '#836bce',
    500: '#3d30b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d30b7;
$custom-light: #836bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30b7",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 245.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.20097,
    "h": 277.7
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#3D30B7
secondary
#C0C87B
accent
#E246D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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