#3D5ABB#3D5ABB

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

Color values

HEX#3D5ABB
RGBrgb(61, 90, 187)
HSLhsl(226, 51%, 49%)
HSVhsv(226, 67%, 73%)
CMYKcmyk(67.4%, 51.9%, 0%, 26.7%)
CIE-LABlab(41.04, 21.58, -54.43)
CIE-LCHlch(41.04, 58.55, 291.63°)
OKLaboklab(49.97% -0.0059 -0.1563)
OKLCHoklch(49.97% 0.156 267.8)
XYZxyz(14.5472, 11.8909, 48.5326)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ABB #BB9E3D
analogous
#3D99BB #3D5ABB #5F3DBB
triadic
#3D5ABB #BB3D5A #5ABB3D
tetradic
#3D5ABB #BB3D99 #BB9E3D #3DBB5F
square
#3D5ABB #BB3D99 #BB9E3D #3DBB5F
split-complementary
#3D5ABB #BB5F3D #99BB3D
monochromatic
#1F2E5F #2E448D #3D5ABB #687FCE #96A6DD

Accessibility & contrast

On white

6.22
#3D5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D5ABB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ABB#FFFFFF#000000##FFFFFF
##3D5ABB1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d5abb;
/* rgb */ color: rgb(61, 90, 187);
/* oklch */ color: oklch(50.0% 0.156 267.8);
Tailwind
colors: {
  custom: {
    50: '#8188d0',
    500: '#3d5abb',
    950: '#000000',
  },
}
SCSS
$custom: #3d5abb;
$custom-light: #8188d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5abb",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 226.19,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.15639,
    "h": 267.8
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#3D5ABB
secondary
#C8BA8C
accent
#BA4EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3D5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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