#3D458F#3D458F

#3D458F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.121 H 275.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3D458F
RGBrgb(61, 69, 143)
HSLhsl(234, 40%, 40%)
HSVhsv(234, 57%, 56%)
CMYKcmyk(57.3%, 51.7%, 0%, 43.9%)
CIE-LABlab(32.33, 19.67, -42.18)
CIE-LCHlch(32.33, 46.54, 295.00°)
OKLaboklab(42.42% 0.0113 -0.1205)
OKLCHoklch(42.42% 0.121 275.3)
XYZxyz(9.0089, 7.2309, 26.9022)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D458F #8F873D
analogous
#3D6E8F #3D458F #5E3D8F
triadic
#3D458F #8F3D45 #458F3D
tetradic
#3D458F #8F3D6E #8F873D #3D8F5E
square
#3D458F #8F3D6E #8F873D #3D8F5E
split-complementary
#3D458F #8F5E3D #6E8F3D
monochromatic
#181C39 #2B3064 #3D458F #535DB6 #7E86C8

Accessibility & contrast

On white

8.58
#3D458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3D458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D458F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D458F#FFFFFF#000000##FFFFFF
##3D458F1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#11498D
Tritanopia (blue-blind)
#0F5663
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d458f;
/* rgb */ color: rgb(61, 69, 143);
/* oklch */ color: oklch(42.4% 0.121 275.3);
Tailwind
colors: {
  custom: {
    50: '#7a78b0',
    500: '#3d458f',
    950: '#000000',
  },
}
SCSS
$custom: #3d458f;
$custom-light: #7a78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d458f",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 234.146,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.4242,
    "c": 0.12104,
    "h": 275.3
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#3D458F
secondary
#B2AC76
accent
#C458D0
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3D458F

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

Preview Lab → · Contrast checker → · Palette generator →

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