#3E30B8#3E30B8

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

Color values

HEX#3E30B8
RGBrgb(62, 48, 184)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 74%, 72%)
CMYKcmyk(66.3%, 73.9%, 0%, 27.8%)
CIE-LABlab(30.87, 46.63, -69.25)
CIE-LCHlch(30.87, 83.49, 303.96°)
OKLaboklab(42.43% 0.0281 -0.2)
OKLCHoklch(42.43% 0.202 278)
XYZxyz(11.6925, 6.5977, 45.9954)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30B8 #AAB830
analogous
#3066B8 #3E30B8 #8230B8
triadic
#3E30B8 #B83E30 #30B83E
tetradic
#3E30B8 #B83066 #AAB830 #30B882
square
#3E30B8 #B83066 #AAB830 #30B882
split-complementary
#3E30B8 #B88230 #66B830
monochromatic
#1D1757 #2E2387 #3E30B8 #6053D2 #8D84DF

Accessibility & contrast

On white

9.05
#3E30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E30B8
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30B8#FFFFFF#000000##FFFFFF
##3E30B81.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e30b8;
/* rgb */ color: rgb(62, 48, 184);
/* oklch */ color: oklch(42.4% 0.202 278.0);
Tailwind
colors: {
  custom: {
    50: '#846bcf',
    500: '#3e30b8',
    950: '#000000',
  },
}
SCSS
$custom: #3e30b8;
$custom-light: #846bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30b8",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 246.176,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.20197,
    "h": 278
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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