#3A62AF#3A62AF

#3A62AF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.131 H 262.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3A62AF
RGBrgb(58, 98, 175)
HSLhsl(219, 50%, 46%)
HSVhsv(219, 67%, 69%)
CMYKcmyk(66.9%, 44%, 0%, 31.4%)
CIE-LABlab(42.35, 11.58, -45.30)
CIE-LCHlch(42.35, 46.76, 284.34°)
OKLaboklab(50.68% -0.0179 -0.1294)
OKLCHoklch(50.68% 0.131 262.1)
XYZxyz(13.8477, 12.7287, 42.2762)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62AF #AF873A
analogous
#3A9CAF #3A62AF #4C3AAF
triadic
#3A62AF #AF3A62 #62AF3A
tetradic
#3A62AF #AF3A9C #AF873A #3AAF4C
square
#3A62AF #AF3A9C #AF873A #3AAF4C
split-complementary
#3A62AF #AF4C3A #9CAF3A
monochromatic
#1C2F53 #2B4881 #3A62AF #5D82C9 #8BA5D9

Accessibility & contrast

On white

5.92
#3A62AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A62AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62AF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62AF#FFFFFF#000000##FFFFFF
##3A62AF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a62af;
/* rgb */ color: rgb(58, 98, 175);
/* oklch */ color: oklch(50.7% 0.131 262.1);
Tailwind
colors: {
  custom: {
    50: '#7d8ec7',
    500: '#3a62af',
    950: '#000000',
  },
}
SCSS
$custom: #3a62af;
$custom-light: #7d8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62af",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 219.487,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.13062,
    "h": 262.1
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A62AF

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

Preview Lab → · Contrast checker → · Palette generator →

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