#3D478E#3D478E

#3D478E is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.117 H 274.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3D478E
RGBrgb(61, 71, 142)
HSLhsl(233, 40%, 40%)
HSVhsv(233, 57%, 56%)
CMYKcmyk(57%, 50%, 0%, 44.3%)
CIE-LABlab(32.81, 17.99, -40.78)
CIE-LCHlch(32.81, 44.58, 293.81°)
OKLaboklab(42.77% 0.0089 -0.1164)
OKLCHoklch(42.77% 0.117 274.4)
XYZxyz(9.0586, 7.4509, 26.5468)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D478E #8E843D
analogous
#3D6F8E #3D478E #5C3D8E
triadic
#3D478E #8E3D47 #478E3D
tetradic
#3D478E #8E3D6F #8E843D #3D8E5C
square
#3D478E #8E3D6F #8E843D #3D8E5C
split-complementary
#3D478E #8E5C3D #6F8E3D
monochromatic
#181C38 #2B3263 #3D478E #535FB5 #7E87C8

Accessibility & contrast

On white

8.43
#3D478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3D478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D478E
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D478E#FFFFFF#000000##FFFFFF
##3D478E1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#194A8C
Tritanopia (blue-blind)
#115763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d478e;
/* rgb */ color: rgb(61, 71, 142);
/* oklch */ color: oklch(42.8% 0.117 274.4);
Tailwind
colors: {
  custom: {
    50: '#797aaf',
    500: '#3d478e',
    950: '#000000',
  },
}
SCSS
$custom: #3d478e;
$custom-light: #797aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d478e",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 232.593,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42765,
    "c": 0.11673,
    "h": 274.4
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#3D478E
secondary
#B1AA75
accent
#C158D0
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3D478E

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

Preview Lab → · Contrast checker → · Palette generator →

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