#3A5ABA#3A5ABA

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

Color values

HEX#3A5ABA
RGBrgb(58, 90, 186)
HSLhsl(225, 52%, 48%)
HSVhsv(225, 69%, 73%)
CMYKcmyk(68.8%, 51.6%, 0%, 27.1%)
CIE-LABlab(40.83, 20.75, -54.20)
CIE-LCHlch(40.83, 58.04, 290.95°)
OKLaboklab(49.74% -0.0088 -0.1557)
OKLCHoklch(49.74% 0.156 266.8)
XYZxyz(14.2609, 11.7556, 47.9624)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5ABA #BA9A3A
analogous
#3A9ABA #3A5ABA #5A3ABA
triadic
#3A5ABA #BA3A5A #5ABA3A
tetradic
#3A5ABA #BA3A9A #BA9A3A #3ABA5A
square
#3A5ABA #BA3A9A #BA9A3A #3ABA5A
split-complementary
#3A5ABA #BA5A3A #9ABA3A
monochromatic
#1D2D5D #2B438B #3A5ABA #637ECE #92A4DD

Accessibility & contrast

On white

6.27
#3A5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3A5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5ABA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5ABA#FFFFFF#000000##FFFFFF
##3A5ABA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5aba;
/* rgb */ color: rgb(58, 90, 186);
/* oklch */ color: oklch(49.7% 0.156 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f88cf',
    500: '#3a5aba',
    950: '#000000',
  },
}
SCSS
$custom: #3a5aba;
$custom-light: #7f88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5aba",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 225,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.15593,
    "h": 266.8
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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