#3D5ABF#3D5ABF

#3D5ABF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.162 H 268.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#3D5ABF
RGBrgb(61, 90, 191)
HSLhsl(227, 52%, 49%)
HSVhsv(227, 68%, 75%)
CMYKcmyk(68.1%, 52.9%, 0%, 25.1%)
CIE-LABlab(41.32, 23.03, -56.31)
CIE-LCHlch(41.32, 60.84, 292.24°)
OKLaboklab(50.26% -0.0055 -0.1618)
OKLCHoklch(50.26% 0.162 268)
XYZxyz(14.9814, 12.0646, 50.8193)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ABF #BFA23D
analogous
#3D9BBF #3D5ABF #613DBF
triadic
#3D5ABF #BF3D5A #5ABF3D
tetradic
#3D5ABF #BF3D9B #BFA23D #3DBF61
square
#3D5ABF #BF3D9B #BFA23D #3DBF61
split-complementary
#3D5ABF #BF613D #9BBF3D
monochromatic
#1F2E62 #2E4491 #3D5ABF #6A80CF #98A8DE

Accessibility & contrast

On white

6.15
#3D5ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3D5ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5ABF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ABF#FFFFFF#000000##FFFFFF
##3D5ABF1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d5abf;
/* rgb */ color: rgb(61, 90, 191);
/* oklch */ color: oklch(50.3% 0.162 268.0);
Tailwind
colors: {
  custom: {
    50: '#8188d3',
    500: '#3d5abf',
    950: '#000000',
  },
}
SCSS
$custom: #3d5abf;
$custom-light: #8188d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5abf",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 226.615,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50263,
    "c": 0.16192,
    "h": 268
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#3D5ABF
secondary
#CABD8E
accent
#BB4DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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