#3B5FCF#3B5FCF

#3B5FCF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.178 H 266.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3B5FCF
RGBrgb(59, 95, 207)
HSLhsl(225, 61%, 52%)
HSVhsv(225, 71%, 81%)
CMYKcmyk(71.5%, 54.1%, 0%, 18.8%)
CIE-LABlab(43.68, 25.33, -61.75)
CIE-LCHlch(43.68, 66.74, 292.30°)
OKLaboklab(52.38% -0.0103 -0.1778)
OKLCHoklch(52.38% 0.178 266.7)
XYZxyz(17.1544, 13.6174, 60.7437)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FCF #CFAB3B
analogous
#3BA9CF #3B5FCF #613BCF
triadic
#3B5FCF #CF3B5F #5FCF3B
tetradic
#3B5FCF #CF3BA9 #CFAB3B #3BCF61
square
#3B5FCF #CF3BA9 #CFAB3B #3BCF61
split-complementary
#3B5FCF #CF613B #A9CF3B
monochromatic
#1C3173 #2847A5 #3B5FCF #6C87DB #9DAFE7

Accessibility & contrast

On white

5.64
#3B5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3B5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FCF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FCF#FFFFFF#000000##FFFFFF
##3B5FCF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b5fcf;
/* rgb */ color: rgb(59, 95, 207);
/* oklch */ color: oklch(52.4% 0.178 266.7);
Tailwind
colors: {
  custom: {
    50: '#848bde',
    500: '#3b5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fcf;
$custom-light: #848bde;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fcf",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 225.405,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.17809,
    "h": 266.7
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#3B5FCF
secondary
#D3C393
accent
#BD44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3B5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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