#3A5ABB#3A5ABB

#3A5ABB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.157 H 266.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3A5ABB
RGBrgb(58, 90, 187)
HSLhsl(225, 53%, 48%)
HSVhsv(225, 69%, 73%)
CMYKcmyk(69%, 51.9%, 0%, 26.7%)
CIE-LABlab(40.89, 21.12, -54.67)
CIE-LCHlch(40.89, 58.61, 291.12°)
OKLaboklab(49.81% -0.0087 -0.1571)
OKLCHoklch(49.81% 0.157 266.8)
XYZxyz(14.3676, 11.7983, 48.5242)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5ABB #BB9B3A
analogous
#3A9ABB #3A5ABB #5A3ABB
triadic
#3A5ABB #BB3A5A #5ABB3A
tetradic
#3A5ABB #BB3A9A #BB9B3A #3ABB5A
square
#3A5ABB #BB3A9A #BB9B3A #3ABB5A
split-complementary
#3A5ABB #BB5A3A #9ABB3A
monochromatic
#1D2D5E #2C448C #3A5ABB #637ECF #92A5DD

Accessibility & contrast

On white

6.25
#3A5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3A5ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5ABB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5ABB#FFFFFF#000000##FFFFFF
##3A5ABB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5abb;
/* rgb */ color: rgb(58, 90, 187);
/* oklch */ color: oklch(49.8% 0.157 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f88d0',
    500: '#3a5abb',
    950: '#000000',
  },
}
SCSS
$custom: #3a5abb;
$custom-light: #7f88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5abb",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 225.116,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49813,
    "c": 0.15731,
    "h": 266.8
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#3A5ABB
secondary
#C8B888
accent
#B84CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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