#3D438E#3D438E

#3D438E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.122 H 276.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3D438E
RGBrgb(61, 67, 142)
HSLhsl(236, 40%, 40%)
HSVhsv(236, 57%, 56%)
CMYKcmyk(57%, 52.8%, 0%, 44.3%)
CIE-LABlab(31.71, 20.64, -42.55)
CIE-LCHlch(31.71, 47.29, 295.88°)
OKLaboklab(41.94% 0.0135 -0.1216)
OKLCHoklch(41.94% 0.122 276.3)
XYZxyz(8.8125, 6.9588, 26.4647)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D438E #8E883D
analogous
#3D6B8E #3D438E #603D8E
triadic
#3D438E #8E3D43 #438E3D
tetradic
#3D438E #8E3D6B #8E883D #3D8E60
square
#3D438E #8E3D6B #8E883D #3D8E60
split-complementary
#3D438E #8E603D #6B8E3D
monochromatic
#181B38 #2B2F63 #3D438E #535AB5 #7E83C8

Accessibility & contrast

On white

8.78
#3D438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3D438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D438E
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D438E#FFFFFF#000000##FFFFFF
##3D438E1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#125462
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d438e;
/* rgb */ color: rgb(61, 67, 142);
/* oklch */ color: oklch(41.9% 0.122 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a77b0',
    500: '#3d438e',
    950: '#000000',
  },
}
SCSS
$custom: #3d438e;
$custom-light: #7a77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d438e",
  "rgb": {
    "r": 61,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 235.556,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41936,
    "c": 0.12237,
    "h": 276.3
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#3D438E
secondary
#B1AD75
accent
#C758D0
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3D438E

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

Preview Lab → · Contrast checker → · Palette generator →

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