#3D5DAF#3D5DAF

#3D5DAF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.136 H 265.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3D5DAF
RGBrgb(61, 93, 175)
HSLhsl(223, 48%, 46%)
HSVhsv(223, 65%, 69%)
CMYKcmyk(65.1%, 46.9%, 0%, 31.4%)
CIE-LABlab(41.08, 15.32, -47.33)
CIE-LCHlch(41.08, 49.75, 287.93°)
OKLaboklab(49.74% -0.0102 -0.1353)
OKLCHoklch(49.74% 0.136 265.7)
XYZxyz(13.5740, 11.9147, 42.1336)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5DAF #AF8F3D
analogous
#3D96AF #3D5DAF #563DAF
triadic
#3D5DAF #AF3D5D #5DAF3D
tetradic
#3D5DAF #AF3D96 #AF8F3D #3DAF56
square
#3D5DAF #AF3D96 #AF8F3D #3DAF56
split-complementary
#3D5DAF #AF563D #96AF3D
monochromatic
#1D2D54 #2D4582 #3D5DAF #617EC8 #8FA3D8

Accessibility & contrast

On white

6.21
#3D5DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3D5DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5DAF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5DAF#FFFFFF#000000##FFFFFF
##3D5DAF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#1F5CAD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d5daf;
/* rgb */ color: rgb(61, 93, 175);
/* oklch */ color: oklch(49.7% 0.136 265.7);
Tailwind
colors: {
  custom: {
    50: '#7e8ac7',
    500: '#3d5daf',
    950: '#000000',
  },
}
SCSS
$custom: #3d5daf;
$custom-light: #7e8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5daf",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 223.158,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.13574,
    "h": 265.7
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

primary
#3D5DAF
secondary
#C3B185
accent
#B250D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D5DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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