#3A5FC8#3A5FC8

#3A5FC8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.169 H 266.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3A5FC8
RGBrgb(58, 95, 200)
HSLhsl(224, 56%, 51%)
HSVhsv(224, 71%, 78%)
CMYKcmyk(71%, 52.5%, 0%, 21.6%)
CIE-LABlab(43.14, 22.64, -58.59)
CIE-LCHlch(43.14, 62.81, 291.13°)
OKLaboklab(51.8% -0.0117 -0.1685)
OKLCHoklch(51.8% 0.169 266)
XYZxyz(16.2588, 13.2524, 56.3335)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FC8 #C8A33A
analogous
#3AA6C8 #3A5FC8 #5C3AC8
triadic
#3A5FC8 #C83A5F #5FC83A
tetradic
#3A5FC8 #C83AA6 #C8A33A #3AC85C
square
#3A5FC8 #C83AA6 #C8A33A #3AC85C
split-complementary
#3A5FC8 #C85C3A #A6C83A
monochromatic
#1E326A #2B489A #3A5FC8 #6A86D5 #9AADE3

Accessibility & contrast

On white

5.75
#3A5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3A5FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FC8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FC8#FFFFFF#000000##FFFFFF
##3A5FC81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176DCC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a5fc8;
/* rgb */ color: rgb(58, 95, 200);
/* oklch */ color: oklch(51.8% 0.169 266.0);
Tailwind
colors: {
  custom: {
    50: '#828bd9',
    500: '#3a5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fc8;
$custom-light: #828bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fc8",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 224.366,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.16893,
    "h": 266
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#3A5FC8
secondary
#CEBE8F
accent
#B848E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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