#3D5EC9#3D5EC9

#3D5EC9 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.171 H 267.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3D5EC9
RGBrgb(61, 94, 201)
HSLhsl(226, 56%, 51%)
HSVhsv(226, 70%, 79%)
CMYKcmyk(69.7%, 53.2%, 0%, 21.2%)
CIE-LABlab(43.08, 24.07, -59.26)
CIE-LCHlch(43.08, 63.96, 292.10°)
OKLaboklab(51.82% -0.0082 -0.1704)
OKLCHoklch(51.82% 0.171 267.3)
XYZxyz(16.4661, 13.2129, 56.9296)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EC9 #C9A83D
analogous
#3DA4C9 #3D5EC9 #623DC9
triadic
#3D5EC9 #C93D5E #5EC93D
tetradic
#3D5EC9 #C93DA4 #C9A83D #3DC962
square
#3D5EC9 #C93DA4 #C9A83D #3DC962
split-complementary
#3D5EC9 #C9623D #A4C93D
monochromatic
#1E316D #2C469D #3D5EC9 #6D86D6 #9DADE4

Accessibility & contrast

On white

5.76
#3D5EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3D5EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5EC9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5EC9#FFFFFF#000000##FFFFFF
##3D5EC91.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106CCD
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5ec9;
/* rgb */ color: rgb(61, 94, 201);
/* oklch */ color: oklch(51.8% 0.171 267.3);
Tailwind
colors: {
  custom: {
    50: '#838bda',
    500: '#3d5ec9',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ec9;
$custom-light: #838bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ec9",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 225.857,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51817,
    "c": 0.17063,
    "h": 267.3
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#3D5EC9
secondary
#D0C192
accent
#BC48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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