#3D30B9#3D30B9

#3D30B9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.203 H 277.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3D30B9
RGBrgb(61, 48, 185)
HSLhsl(246, 59%, 46%)
HSVhsv(246, 74%, 73%)
CMYKcmyk(67%, 74.1%, 0%, 27.5%)
CIE-LABlab(30.90, 46.83, -69.81)
CIE-LCHlch(30.90, 84.06, 303.86°)
OKLaboklab(42.46% 0.0266 -0.2016)
OKLCHoklch(42.46% 0.203 277.5)
XYZxyz(11.7355, 6.6078, 46.5465)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30B9 #ACB930
analogous
#3068B9 #3D30B9 #8130B9
triadic
#3D30B9 #B93D30 #30B93D
tetradic
#3D30B9 #B93068 #ACB930 #30B981
square
#3D30B9 #B93068 #ACB930 #30B981
split-complementary
#3D30B9 #B98130 #68B930
monochromatic
#1D1758 #2D2388 #3D30B9 #6054D3 #8D84DF

Accessibility & contrast

On white

9.04
#3D30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3D30B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30B9
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30B9#FFFFFF#000000##FFFFFF
##3D30B91.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3d30b9;
/* rgb */ color: rgb(61, 48, 185);
/* oklch */ color: oklch(42.5% 0.203 277.5);
Tailwind
colors: {
  custom: {
    50: '#836bcf',
    500: '#3d30b9',
    950: '#000000',
  },
}
SCSS
$custom: #3d30b9;
$custom-light: #836bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30b9",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 245.693,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42457,
    "c": 0.20339,
    "h": 277.5
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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