#3A5BAE#3A5BAE

#3A5BAE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.138 H 265.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#3A5BAE
RGBrgb(58, 91, 174)
HSLhsl(223, 50%, 45%)
HSVhsv(223, 67%, 68%)
CMYKcmyk(66.7%, 47.7%, 0%, 31.8%)
CIE-LABlab(40.31, 15.73, -47.99)
CIE-LCHlch(40.31, 50.50, 288.15°)
OKLaboklab(49.09% -0.0112 -0.1374)
OKLCHoklch(49.09% 0.138 265.3)
XYZxyz(13.1233, 11.4365, 41.5520)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BAE #AE8D3A
analogous
#3A95AE #3A5BAE #533AAE
triadic
#3A5BAE #AE3A5B #5BAE3A
tetradic
#3A5BAE #AE3A95 #AE8D3A #3AAE53
square
#3A5BAE #AE3A95 #AE8D3A #3AAE53
split-complementary
#3A5BAE #AE533A #95AE3A
monochromatic
#1B2B52 #2B4380 #3A5BAE #5C7BC9 #8AA0D8

Accessibility & contrast

On white

6.39
#3A5BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3A5BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BAE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BAE#FFFFFF#000000##FFFFFF
##3A5BAE1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5bae;
/* rgb */ color: rgb(58, 91, 174);
/* oklch */ color: oklch(49.1% 0.138 265.3);
Tailwind
colors: {
  custom: {
    50: '#7d88c7',
    500: '#3a5bae',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bae;
$custom-light: #7d88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bae",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 222.931,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.13784,
    "h": 265.3
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#3A5BAE
secondary
#C2B081
accent
#B24EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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