#3D5ABC#3D5ABC

#3D5ABC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.158 H 267.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3D5ABC
RGBrgb(61, 90, 188)
HSLhsl(226, 51%, 49%)
HSVhsv(226, 68%, 74%)
CMYKcmyk(67.6%, 52.1%, 0%, 26.3%)
CIE-LABlab(41.11, 21.94, -54.90)
CIE-LCHlch(41.11, 59.12, 291.79°)
OKLaboklab(50.04% -0.0058 -0.1577)
OKLCHoklch(50.04% 0.158 267.9)
XYZxyz(14.6546, 11.9339, 49.0984)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ABC #BC9F3D
analogous
#3D9ABC #3D5ABC #603DBC
triadic
#3D5ABC #BC3D5A #5ABC3D
tetradic
#3D5ABC #BC3D9A #BC9F3D #3DBC60
square
#3D5ABC #BC3D9A #BC9F3D #3DBC60
split-complementary
#3D5ABC #BC603D #9ABC3D
monochromatic
#1F2E60 #2E448E #3D5ABC #687FCE #96A6DD

Accessibility & contrast

On white

6.20
#3D5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3D5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5ABC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ABC#FFFFFF#000000##FFFFFF
##3D5ABC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d5abc;
/* rgb */ color: rgb(61, 90, 188);
/* oklch */ color: oklch(50.0% 0.158 267.9);
Tailwind
colors: {
  custom: {
    50: '#8188d1',
    500: '#3d5abc',
    950: '#000000',
  },
}
SCSS
$custom: #3d5abc;
$custom-light: #8188d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5abc",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 226.299,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.15778,
    "h": 267.9
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#3D5ABC
secondary
#C9BB8C
accent
#BA4DDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3D5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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