#3B62C8#3B62C8

#3B62C8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.165 H 265.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#3B62C8
RGBrgb(59, 98, 200)
HSLhsl(223, 56%, 51%)
HSVhsv(223, 71%, 78%)
CMYKcmyk(70.5%, 51%, 0%, 21.6%)
CIE-LABlab(43.99, 20.85, -57.21)
CIE-LCHlch(43.99, 60.89, 290.03°)
OKLaboklab(52.46% -0.0134 -0.1644)
OKLCHoklch(52.46% 0.165 265.3)
XYZxyz(16.5930, 13.8336, 56.4281)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B62C8 #C8A13B
analogous
#3BA8C8 #3B62C8 #5A3BC8
triadic
#3B62C8 #C83B62 #62C83B
tetradic
#3B62C8 #C83BA8 #C8A13B #3BC85A
square
#3B62C8 #C83BA8 #C8A13B #3BC85A
split-complementary
#3B62C8 #C85A3B #A8C83B
monochromatic
#1E336B #2B4A9A #3B62C8 #6B88D5 #9BAFE3

Accessibility & contrast

On white

5.57
#3B62C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3B62C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B62C8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B62C8#FFFFFF#000000##FFFFFF
##3B62C81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236FCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3b62c8;
/* rgb */ color: rgb(59, 98, 200);
/* oklch */ color: oklch(52.5% 0.165 265.3);
Tailwind
colors: {
  custom: {
    50: '#828ed9',
    500: '#3b62c8',
    950: '#000000',
  },
}
SCSS
$custom: #3b62c8;
$custom-light: #828ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b62c8",
  "rgb": {
    "r": 59,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 223.404,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.16494,
    "h": 265.3
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#3B62C8
secondary
#CFBD90
accent
#B648DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3B62C8

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

Preview Lab → · Contrast checker → · Palette generator →

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