#3E30B7#3E30B7

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

Color values

HEX#3E30B7
RGBrgb(62, 48, 183)
HSLhsl(246, 58%, 45%)
HSVhsv(246, 74%, 72%)
CMYKcmyk(66.1%, 73.8%, 0%, 28.2%)
CIE-LABlab(30.77, 46.32, -68.82)
CIE-LCHlch(30.77, 82.95, 303.94°)
OKLaboklab(42.33% 0.0283 -0.1987)
OKLCHoklch(42.33% 0.201 278.1)
XYZxyz(11.5880, 6.5560, 45.4453)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30B7 #A9B730
analogous
#3066B7 #3E30B7 #8130B7
triadic
#3E30B7 #B73E30 #30B73E
tetradic
#3E30B7 #B73066 #A9B730 #30B781
square
#3E30B7 #B73066 #A9B730 #30B781
split-complementary
#3E30B7 #B78130 #66B730
monochromatic
#1D1756 #2E2387 #3E30B7 #6052D2 #8C83DE

Accessibility & contrast

On white

9.09
#3E30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E30B7
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30B7#FFFFFF#000000##FFFFFF
##3E30B71.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.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: #3e30b7;
/* rgb */ color: rgb(62, 48, 183);
/* oklch */ color: oklch(42.3% 0.201 278.1);
Tailwind
colors: {
  custom: {
    50: '#836bce',
    500: '#3e30b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e30b7;
$custom-light: #836bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30b7",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 246.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4233,
    "c": 0.20075,
    "h": 278.1
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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