#3A62AE#3A62AE

#3A62AE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.129 H 261.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3A62AE
RGBrgb(58, 98, 174)
HSLhsl(219, 50%, 45%)
HSVhsv(219, 67%, 68%)
CMYKcmyk(66.7%, 43.7%, 0%, 31.8%)
CIE-LABlab(42.29, 11.22, -44.81)
CIE-LCHlch(42.29, 46.19, 284.06°)
OKLaboklab(50.61% -0.0181 -0.1279)
OKLCHoklch(50.61% 0.129 261.9)
XYZxyz(13.7499, 12.6896, 41.7609)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62AE #AE863A
analogous
#3A9CAE #3A62AE #4C3AAE
triadic
#3A62AE #AE3A62 #62AE3A
tetradic
#3A62AE #AE3A9C #AE863A #3AAE4C
square
#3A62AE #AE3A9C #AE863A #3AAE4C
split-complementary
#3A62AE #AE4C3A #9CAE3A
monochromatic
#1B2E52 #2B4880 #3A62AE #5C82C9 #8AA5D8

Accessibility & contrast

On white

5.94
#3A62AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3A62AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62AE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62AE#FFFFFF#000000##FFFFFF
##3A62AE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB1
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a62ae;
/* rgb */ color: rgb(58, 98, 174);
/* oklch */ color: oklch(50.6% 0.129 261.9);
Tailwind
colors: {
  custom: {
    50: '#7d8ec6',
    500: '#3a62ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a62ae;
$custom-light: #7d8ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62ae",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 219.31,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.1292,
    "h": 261.9
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#3A62AE
secondary
#C2AC81
accent
#AA4EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3A62AE

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

Preview Lab → · Contrast checker → · Palette generator →

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