#3662BA#3662BA

#3662BA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.2% C 0.147 H 262.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3662BA
RGBrgb(54, 98, 186)
HSLhsl(220, 55%, 47%)
HSVhsv(220, 71%, 73%)
CMYKcmyk(71%, 47.3%, 0%, 27.1%)
CIE-LABlab(42.86, 14.98, -50.93)
CIE-LCHlch(42.86, 53.09, 286.39°)
OKLaboklab(51.24% -0.0194 -0.146)
OKLCHoklch(51.24% 0.147 262.4)
XYZxyz(14.7488, 13.0633, 48.1890)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3662BA #BA8E36
analogous
#36A4BA #3662BA #4C36BA
triadic
#3662BA #BA3662 #62BA36
tetradic
#3662BA #BA36A4 #BA8E36 #36BA4C
square
#3662BA #BA36A4 #BA8E36 #36BA4C
split-complementary
#3662BA #BA4C36 #A4BA36
monochromatic
#1A305B #28498B #3662BA #5D83D0 #8DA8DE

Accessibility & contrast

On white

5.81
#3662BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3662BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3662BA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3662BA#FFFFFF#000000##FFFFFF
##3662BA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBD
Deuteranopia (green-blind)
#1360B8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3662ba;
/* rgb */ color: rgb(54, 98, 186);
/* oklch */ color: oklch(51.2% 0.147 262.4);
Tailwind
colors: {
  custom: {
    50: '#7d8ecf',
    500: '#3662ba',
    950: '#000000',
  },
}
SCSS
$custom: #3662ba;
$custom-light: #7d8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3662ba",
  "rgb": {
    "r": 54,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 220,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.14729,
    "h": 262.4
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#3662BA
secondary
#C8B184
accent
#AD49DE
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3662BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3662BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva