#3C30B8#3C30B8

#3C30B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.202 H 277.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3C30B8
RGBrgb(60, 48, 184)
HSLhsl(245, 59%, 45%)
HSVhsv(245, 74%, 72%)
CMYKcmyk(67.4%, 73.9%, 0%, 27.8%)
CIE-LABlab(30.72, 46.41, -69.50)
CIE-LCHlch(30.72, 83.57, 303.73°)
OKLaboklab(42.29% 0.0255 -0.2008)
OKLCHoklch(42.29% 0.202 277.2)
XYZxyz(11.5693, 6.5342, 45.9896)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C30B8 #ACB830
analogous
#3068B8 #3C30B8 #8030B8
triadic
#3C30B8 #B83C30 #30B83C
tetradic
#3C30B8 #B83068 #ACB830 #30B880
square
#3C30B8 #B83068 #ACB830 #30B880
split-complementary
#3C30B8 #B88030 #68B830
monochromatic
#1C1757 #2C2387 #3C30B8 #5E53D2 #8C84DF

Accessibility & contrast

On white

9.10
#3C30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C30B8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C30B8#FFFFFF#000000##FFFFFF
##3C30B81.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c30b8;
/* rgb */ color: rgb(60, 48, 184);
/* oklch */ color: oklch(42.3% 0.202 277.2);
Tailwind
colors: {
  custom: {
    50: '#836bcf',
    500: '#3c30b8',
    950: '#000000',
  },
}
SCSS
$custom: #3c30b8;
$custom-light: #836bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c30b8",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 245.294,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.2024,
    "h": 277.2
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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