#3A62BA#3A62BA

#3A62BA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.146 H 263.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3A62BA
RGBrgb(58, 98, 186)
HSLhsl(221, 52%, 48%)
HSVhsv(221, 69%, 73%)
CMYKcmyk(68.8%, 47.3%, 0%, 27.1%)
CIE-LABlab(43.03, 15.59, -50.65)
CIE-LCHlch(43.03, 52.99, 287.11°)
OKLaboklab(51.42% -0.0161 -0.1451)
OKLCHoklch(51.42% 0.146 263.7)
XYZxyz(14.9724, 13.1786, 48.1995)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62BA #BA923A
analogous
#3AA2BA #3A62BA #523ABA
triadic
#3A62BA #BA3A62 #62BA3A
tetradic
#3A62BA #BA3AA2 #BA923A #3ABA52
square
#3A62BA #BA3AA2 #BA923A #3ABA52
split-complementary
#3A62BA #BA523A #A2BA3A
monochromatic
#1D315D #2B498B #3A62BA #6384CE #92A9DD

Accessibility & contrast

On white

5.78
#3A62BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3A62BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62BA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62BA#FFFFFF#000000##FFFFFF
##3A62BA1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#1760B8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a62ba;
/* rgb */ color: rgb(58, 98, 186);
/* oklch */ color: oklch(51.4% 0.146 263.7);
Tailwind
colors: {
  custom: {
    50: '#7f8ecf',
    500: '#3a62ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a62ba;
$custom-light: #7f8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62ba",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 221.25,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.14599,
    "h": 263.7
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#3A62BA
secondary
#C8B488
accent
#AF4CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3A62BA

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

Preview Lab → · Contrast checker → · Palette generator →

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