#3E508C#3E508C

#3E508C is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.101 H 269.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3E508C
RGBrgb(62, 80, 140)
HSLhsl(226, 39%, 40%)
HSVhsv(226, 56%, 55%)
CMYKcmyk(55.7%, 42.9%, 0%, 45.1%)
CIE-LABlab(35.31, 11.59, -35.57)
CIE-LCHlch(35.31, 37.41, 288.04°)
OKLaboklab(44.65% -0.001 -0.101)
OKLCHoklch(44.65% 0.101 269.4)
XYZxyz(9.5873, 8.6542, 25.9711)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E508C #8C7A3E
analogous
#3E778C #3E508C #533E8C
triadic
#3E508C #8C3E50 #508C3E
tetradic
#3E508C #8C3E77 #8C7A3E #3E8C53
square
#3E508C #8C3E77 #8C7A3E #3E8C53
split-complementary
#3E508C #8C533E #778C3E
monochromatic
#182037 #2B3862 #3E508C #546AB3 #7E8FC6

Accessibility & contrast

On white

7.69
#3E508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3E508C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E508C
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E508C#FFFFFF#000000##FFFFFF
##3E508C1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578E
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#155D67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e508c;
/* rgb */ color: rgb(62, 80, 140);
/* oklch */ color: oklch(44.6% 0.101 269.4);
Tailwind
colors: {
  custom: {
    50: '#7980ae',
    500: '#3e508c',
    950: '#000000',
  },
}
SCSS
$custom: #3e508c;
$custom-light: #7980ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e508c",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 226.154,
    "s": 38.614,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.10098,
    "h": 269.4
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#3E508C
secondary
#B0A376
accent
#B359CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E508C

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

Preview Lab → · Contrast checker → · Palette generator →

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