#3D458E#3D458E

#3D458E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.3% C 0.120 H 275.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3D458E
RGBrgb(61, 69, 142)
HSLhsl(234, 40%, 40%)
HSVhsv(234, 57%, 56%)
CMYKcmyk(57%, 51.4%, 0%, 44.3%)
CIE-LABlab(32.26, 19.32, -41.67)
CIE-LCHlch(32.26, 45.93, 294.87°)
OKLaboklab(42.35% 0.0112 -0.119)
OKLCHoklch(42.35% 0.12 275.4)
XYZxyz(8.9335, 7.2007, 26.5051)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D458E #8E863D
analogous
#3D6E8E #3D458E #5E3D8E
triadic
#3D458E #8E3D45 #458E3D
tetradic
#3D458E #8E3D6E #8E863D #3D8E5E
square
#3D458E #8E3D6E #8E863D #3D8E5E
split-complementary
#3D458E #8E5E3D #6E8E3D
monochromatic
#181B38 #2B3063 #3D458E #535DB5 #7E85C8

Accessibility & contrast

On white

8.61
#3D458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3D458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D458E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D458E#FFFFFF#000000##FFFFFF
##3D458E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#13498C
Tritanopia (blue-blind)
#115563
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d458e;
/* rgb */ color: rgb(61, 69, 142);
/* oklch */ color: oklch(42.3% 0.120 275.4);
Tailwind
colors: {
  custom: {
    50: '#7978af',
    500: '#3d458e',
    950: '#000000',
  },
}
SCSS
$custom: #3d458e;
$custom-light: #7978af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d458e",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 234.074,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.11954,
    "h": 275.4
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D458E

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

Preview Lab → · Contrast checker → · Palette generator →

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