#3D5FAF#3D5FAF

#3D5FAF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.133 H 264.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3D5FAF
RGBrgb(61, 95, 175)
HSLhsl(222, 48%, 46%)
HSVhsv(222, 65%, 69%)
CMYKcmyk(65.1%, 45.7%, 0%, 31.4%)
CIE-LABlab(41.64, 14.03, -46.43)
CIE-LCHlch(41.64, 48.50, 286.81°)
OKLaboklab(50.17% -0.0122 -0.1327)
OKLCHoklch(50.17% 0.133 264.7)
XYZxyz(13.7519, 12.2704, 42.1928)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FAF #AF8D3D
analogous
#3D98AF #3D5FAF #543DAF
triadic
#3D5FAF #AF3D5F #5FAF3D
tetradic
#3D5FAF #AF3D98 #AF8D3D #3DAF54
square
#3D5FAF #AF3D98 #AF8D3D #3DAF54
split-complementary
#3D5FAF #AF543D #98AF3D
monochromatic
#1D2E54 #2D4682 #3D5FAF #6180C8 #8FA4D8

Accessibility & contrast

On white

6.08
#3D5FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3D5FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FAF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FAF#FFFFFF#000000##FFFFFF
##3D5FAF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3d5faf;
/* rgb */ color: rgb(61, 95, 175);
/* oklch */ color: oklch(50.2% 0.133 264.7);
Tailwind
colors: {
  custom: {
    50: '#7e8bc7',
    500: '#3d5faf',
    950: '#000000',
  },
}
SCSS
$custom: #3d5faf;
$custom-light: #7e8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5faf",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 222.105,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.13323,
    "h": 264.7
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#3D5FAF
secondary
#C3B085
accent
#AF50D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D5FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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