#3B478C#3B478C

#3B478C is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.5% C 0.114 H 273.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3B478C
RGBrgb(59, 71, 140)
HSLhsl(231, 41%, 39%)
HSVhsv(231, 58%, 55%)
CMYKcmyk(57.9%, 49.3%, 0%, 45.1%)
CIE-LABlab(32.54, 16.86, -39.99)
CIE-LCHlch(32.54, 43.40, 292.85°)
OKLaboklab(42.49% 0.0063 -0.1141)
OKLCHoklch(42.49% 0.114 273.2)
XYZxyz(8.7890, 7.3291, 25.7574)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B478C #8C803B
analogous
#3B708C #3B478C #583B8C
triadic
#3B478C #8C3B47 #478C3B
tetradic
#3B478C #8C3B70 #8C803B #3B8C58
square
#3B478C #8C3B70 #8C803B #3B8C58
split-complementary
#3B478C #8C583B #708C3B
monochromatic
#171B36 #293161 #3B478C #4F5EB5 #7A86C7

Accessibility & contrast

On white

8.52
#3B478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3B478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B478C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B478C#FFFFFF#000000##FFFFFF
##3B478C1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#0B5663
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3b478c;
/* rgb */ color: rgb(59, 71, 140);
/* oklch */ color: oklch(42.5% 0.114 273.2);
Tailwind
colors: {
  custom: {
    50: '#787aae',
    500: '#3b478c',
    950: '#000000',
  },
}
SCSS
$custom: #3b478c;
$custom-light: #787aae;
$custom-dark: #000000;
JSON
{
  "hex": "#3b478c",
  "rgb": {
    "r": 59,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 231.111,
    "s": 40.704,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.11429,
    "h": 273.2
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#3B478C
secondary
#B1A772
accent
#BF57D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3B478C

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

Preview Lab → · Contrast checker → · Palette generator →

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