#3B5FE2#3B5FE2

#3B5FE2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 53.9% C 0.203 H 267.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3B5FE2
RGBrgb(59, 95, 226)
HSLhsl(227, 74%, 56%)
HSVhsv(227, 74%, 89%)
CMYKcmyk(73.9%, 58%, 0%, 11.4%)
CIE-LABlab(45.09, 32.19, -70.30)
CIE-LCHlch(45.09, 77.32, 294.60°)
OKLaboklab(53.87% -0.0094 -0.2029)
OKLCHoklch(53.87% 0.203 267.3)
XYZxyz(19.6185, 14.6031, 73.7215)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5FE2 #E2BE3B
analogous
#3BB2E2 #3B5FE2 #6A3BE2
triadic
#3B5FE2 #E23B5F #5FE23B
tetradic
#3B5FE2 #E23BB2 #E2BE3B #3BE26A
square
#3B5FE2 #E23BB2 #E2BE3B #3BE26A
split-complementary
#3B5FE2 #E26A3B #B2E23B
monochromatic
#152F8E #1D41C3 #3B5FE2 #708BEA #A6B6F2

Accessibility & contrast

On white

5.36
#3B5FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3B5FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5FE2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5FE2#FFFFFF#000000##FFFFFF
##3B5FE21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3b5fe2;
/* rgb */ color: rgb(59, 95, 226);
/* oklch */ color: oklch(53.9% 0.203 267.3);
Tailwind
colors: {
  custom: {
    50: '#888cec',
    500: '#3b5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #3b5fe2;
$custom-light: #888cec;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5fe2",
  "rgb": {
    "r": 59,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 227.066,
    "s": 74.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.20315,
    "h": 267.3
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#3B5FE2
secondary
#DFD09A
accent
#C937F1
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3B5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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