#3B5DCC#3B5DCC

#3B5DCC is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.177 H 267.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3B5DCC
RGBrgb(59, 93, 204)
HSLhsl(226, 59%, 52%)
HSVhsv(226, 71%, 80%)
CMYKcmyk(71.1%, 54.4%, 0%, 20%)
CIE-LABlab(42.94, 25.52, -61.22)
CIE-LCHlch(42.94, 66.33, 292.63°)
OKLaboklab(51.75% -0.0089 -0.1763)
OKLCHoklch(51.75% 0.177 267.1)
XYZxyz(16.6133, 13.1164, 58.7712)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5DCC #CCAA3B
analogous
#3BA6CC #3B5DCC #623BCC
triadic
#3B5DCC #CC3B5D #5DCC3B
tetradic
#3B5DCC #CC3BA6 #CCAA3B #3BCC62
square
#3B5DCC #CC3BA6 #CCAA3B #3BCC62
split-complementary
#3B5DCC #CC623B #A6CC3B
monochromatic
#1D3070 #2A45A0 #3B5DCC #6C85D9 #9CADE5

Accessibility & contrast

On white

5.80
#3B5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3B5DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5DCC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5DCC#FFFFFF#000000##FFFFFF
##3B5DCC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b5dcc;
/* rgb */ color: rgb(59, 93, 204);
/* oklch */ color: oklch(51.8% 0.177 267.1);
Tailwind
colors: {
  custom: {
    50: '#838adc',
    500: '#3b5dcc',
    950: '#000000',
  },
}
SCSS
$custom: #3b5dcc;
$custom-light: #838adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5dcc",
  "rgb": {
    "r": 59,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 225.931,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.17651,
    "h": 267.1
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#3B5DCC
secondary
#D1C292
accent
#BD46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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