#3D30B6#3D30B6

#3D30B6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.2% C 0.200 H 277.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3D30B6
RGBrgb(61, 48, 182)
HSLhsl(246, 58%, 45%)
HSVhsv(246, 74%, 71%)
CMYKcmyk(66.5%, 73.6%, 0%, 28.6%)
CIE-LABlab(30.60, 45.89, -68.52)
CIE-LCHlch(30.60, 82.46, 303.81°)
OKLaboklab(42.16% 0.0272 -0.1979)
OKLCHoklch(42.16% 0.2 277.8)
XYZxyz(11.4222, 6.4824, 44.8962)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30B6 #A9B630
analogous
#3066B6 #3D30B6 #8030B6
triadic
#3D30B6 #B63D30 #30B63D
tetradic
#3D30B6 #B63066 #A9B630 #30B680
square
#3D30B6 #B63066 #A9B630 #30B680
split-complementary
#3D30B6 #B68030 #66B630
monochromatic
#1D1655 #2D2386 #3D30B6 #5E52D1 #8B82DE

Accessibility & contrast

On white

9.14
#3D30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3D30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30B6
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30B6#FFFFFF#000000##FFFFFF
##3D30B61.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d30b6;
/* rgb */ color: rgb(61, 48, 182);
/* oklch */ color: oklch(42.2% 0.200 277.8);
Tailwind
colors: {
  custom: {
    50: '#836bcd',
    500: '#3d30b6',
    950: '#000000',
  },
}
SCSS
$custom: #3d30b6;
$custom-light: #836bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30b6",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 245.821,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.19975,
    "h": 277.8
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#3D30B6
secondary
#C0C77B
accent
#E146D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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