#3F62BA#3F62BA

#3F62BA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.7% C 0.144 H 265.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3F62BA
RGBrgb(63, 98, 186)
HSLhsl(223, 49%, 49%)
HSVhsv(223, 66%, 73%)
CMYKcmyk(66.1%, 47.3%, 0%, 27.1%)
CIE-LABlab(43.26, 16.40, -50.26)
CIE-LCHlch(43.26, 52.87, 288.08°)
OKLaboklab(51.66% -0.0117 -0.1439)
OKLCHoklch(51.66% 0.144 265.4)
XYZxyz(15.2774, 13.3358, 48.2138)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F62BA #BA973F
analogous
#3FA0BA #3F62BA #5A3FBA
triadic
#3F62BA #BA3F62 #62BA3F
tetradic
#3F62BA #BA3FA0 #BA973F #3FBA5A
square
#3F62BA #BA3FA0 #BA973F #3FBA5A
split-complementary
#3F62BA #BA5A3F #A0BA3F
monochromatic
#20325F #304A8C #3F62BA #6A86CC #97ABDC

Accessibility & contrast

On white

5.73
#3F62BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F62BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F62BA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F62BA#FFFFFF#000000##FFFFFF
##3F62BA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#1C61B8
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f62ba;
/* rgb */ color: rgb(63, 98, 186);
/* oklch */ color: oklch(51.7% 0.144 265.4);
Tailwind
colors: {
  custom: {
    50: '#818ecf',
    500: '#3f62ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f62ba;
$custom-light: #818ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f62ba",
  "rgb": {
    "r": 63,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 222.927,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.14433,
    "h": 265.4
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#3F62BA
secondary
#C8B78D
accent
#B24FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3F62BA

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

Preview Lab → · Contrast checker → · Palette generator →

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