#3C307E#3C307E

#3C307E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.127 H 285.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3C307E
RGBrgb(60, 48, 126)
HSLhsl(249, 45%, 34%)
HSVhsv(249, 62%, 49%)
CMYKcmyk(52.4%, 61.9%, 0%, 50.6%)
CIE-LABlab(25.50, 27.49, -42.63)
CIE-LCHlch(25.50, 50.73, 302.82°)
OKLaboklab(36.93% 0.0336 -0.122)
OKLCHoklch(36.93% 0.127 285.4)
XYZxyz(6.6852, 4.5806, 20.2665)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C307E #727E30
analogous
#304B7E #3C307E #63307E
triadic
#3C307E #7E3C30 #307E3C
tetradic
#3C307E #7E304B #727E30 #307E63
square
#3C307E #7E304B #727E30 #307E63
split-complementary
#3C307E #7E6330 #4B7E30
monochromatic
#120E25 #271F52 #3C307E #5141AA #7364C4

Accessibility & contrast

On white

10.96
#3C307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3C307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C307E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C307E#FFFFFF#000000##FFFFFF
##3C307E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#234252
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c307e;
/* rgb */ color: rgb(60, 48, 126);
/* oklch */ color: oklch(36.9% 0.127 285.4);
Tailwind
colors: {
  custom: {
    50: '#7869a4',
    500: '#3c307e',
    950: '#000000',
  },
}
SCSS
$custom: #3c307e;
$custom-light: #7869a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c307e",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 249.231,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36925,
    "c": 0.12659,
    "h": 285.4
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#3C307E
secondary
#9FAB5F
accent
#D553C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3C307E

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

Preview Lab → · Contrast checker → · Palette generator →

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