#3D5FCB#3D5FCB

#3D5FCB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.172 H 267.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3D5FCB
RGBrgb(61, 95, 203)
HSLhsl(226, 58%, 52%)
HSVhsv(226, 70%, 80%)
CMYKcmyk(70%, 53.2%, 0%, 20.4%)
CIE-LABlab(43.49, 24.15, -59.75)
CIE-LCHlch(43.49, 64.45, 292.01°)
OKLaboklab(52.17% -0.0089 -0.1719)
OKLCHoklch(52.17% 0.172 267)
XYZxyz(16.7924, 13.4866, 58.2065)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FCB #CBA93D
analogous
#3DA6CB #3D5FCB #623DCB
triadic
#3D5FCB #CB3D5F #5FCB3D
tetradic
#3D5FCB #CB3DA6 #CBA93D #3DCB62
square
#3D5FCB #CB3DA6 #CBA93D #3DCB62
split-complementary
#3D5FCB #CB623D #A6CB3D
monochromatic
#1E3270 #2B47A0 #3D5FCB #6D87D8 #9EAFE5

Accessibility & contrast

On white

5.68
#3D5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3D5FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FCB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FCB#FFFFFF#000000##FFFFFF
##3D5FCB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ECF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3d5fcb;
/* rgb */ color: rgb(61, 95, 203);
/* oklch */ color: oklch(52.2% 0.172 267.0);
Tailwind
colors: {
  custom: {
    50: '#848bdc',
    500: '#3d5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fcb;
$custom-light: #848bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fcb",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 225.634,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.17211,
    "h": 267
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#3D5FCB
secondary
#D1C293
accent
#BC47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3D5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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