#3A5ABC#3A5ABC

#3A5ABC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.159 H 266.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3A5ABC
RGBrgb(58, 90, 188)
HSLhsl(225, 53%, 48%)
HSVhsv(225, 69%, 74%)
CMYKcmyk(69.1%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.96, 21.48, -55.15)
CIE-LCHlch(40.96, 59.18, 291.28°)
OKLaboklab(49.89% -0.0086 -0.1585)
OKLCHoklch(49.89% 0.159 266.9)
XYZxyz(14.4750, 11.8413, 49.0900)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5ABC #BC9C3A
analogous
#3A9BBC #3A5ABC #5B3ABC
triadic
#3A5ABC #BC3A5A #5ABC3A
tetradic
#3A5ABC #BC3A9B #BC9C3A #3ABC5B
square
#3A5ABC #BC3A9B #BC9C3A #3ABC5B
split-complementary
#3A5ABC #BC5B3A #9BBC3A
monochromatic
#1D2D5E #2C448D #3A5ABC #647ECF #93A5DE

Accessibility & contrast

On white

6.23
#3A5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3A5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5ABC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5ABC#FFFFFF#000000##FFFFFF
##3A5ABC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5abc;
/* rgb */ color: rgb(58, 90, 188);
/* oklch */ color: oklch(49.9% 0.159 266.9);
Tailwind
colors: {
  custom: {
    50: '#8088d1',
    500: '#3a5abc',
    950: '#000000',
  },
}
SCSS
$custom: #3a5abc;
$custom-light: #8088d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5abc",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 225.231,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.15869,
    "h": 266.9
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#3A5ABC
secondary
#C9B989
accent
#B94CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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