#3D438F#3D438F

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

Color values

HEX#3D438F
RGBrgb(61, 67, 143)
HSLhsl(236, 40%, 40%)
HSVhsv(236, 57%, 56%)
CMYKcmyk(57.3%, 53.1%, 0%, 43.9%)
CIE-LABlab(31.78, 20.99, -43.05)
CIE-LCHlch(31.78, 47.90, 295.99°)
OKLaboklab(42.01% 0.0136 -0.1231)
OKLCHoklch(42.01% 0.124 276.3)
XYZxyz(8.8880, 6.9890, 26.8619)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D438F #8F893D
analogous
#3D6C8F #3D438F #603D8F
triadic
#3D438F #8F3D43 #438F3D
tetradic
#3D438F #8F3D6C #8F893D #3D8F60
square
#3D438F #8F3D6C #8F893D #3D8F60
split-complementary
#3D438F #8F603D #6C8F3D
monochromatic
#181B39 #2B2F64 #3D438F #535BB6 #7E84C8

Accessibility & contrast

On white

8.76
#3D438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3D438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D438F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D438F#FFFFFF#000000##FFFFFF
##3D438F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E92
Deuteranopia (green-blind)
#09478D
Tritanopia (blue-blind)
#105462
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d438f;
/* rgb */ color: rgb(61, 67, 143);
/* oklch */ color: oklch(42.0% 0.124 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a77b0',
    500: '#3d438f',
    950: '#000000',
  },
}
SCSS
$custom: #3d438f;
$custom-light: #7a77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d438f",
  "rgb": {
    "r": 61,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 235.61,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.42009,
    "c": 0.12385,
    "h": 276.3
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D438F

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

Preview Lab → · Contrast checker → · Palette generator →

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