#3D30B8#3D30B8

#3D30B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.202 H 277.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3D30B8
RGBrgb(61, 48, 184)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 74%, 72%)
CMYKcmyk(66.8%, 73.9%, 0%, 27.8%)
CIE-LABlab(30.80, 46.52, -69.38)
CIE-LCHlch(30.80, 83.53, 303.84°)
OKLaboklab(42.36% 0.0268 -0.2004)
OKLCHoklch(42.36% 0.202 277.6)
XYZxyz(11.6303, 6.5657, 45.9925)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30B8 #ABB830
analogous
#3067B8 #3D30B8 #8130B8
triadic
#3D30B8 #B83D30 #30B83D
tetradic
#3D30B8 #B83067 #ABB830 #30B881
square
#3D30B8 #B83067 #ABB830 #30B881
split-complementary
#3D30B8 #B88130 #67B830
monochromatic
#1D1757 #2D2387 #3D30B8 #5F53D2 #8C84DF

Accessibility & contrast

On white

9.08
#3D30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D30B8
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30B8#FFFFFF#000000##FFFFFF
##3D30B81.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d30b8;
/* rgb */ color: rgb(61, 48, 184);
/* oklch */ color: oklch(42.4% 0.202 277.6);
Tailwind
colors: {
  custom: {
    50: '#836bcf',
    500: '#3d30b8',
    950: '#000000',
  },
}
SCSS
$custom: #3d30b8;
$custom-light: #836bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30b8",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 245.735,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42357,
    "c": 0.20218,
    "h": 277.6
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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