#4062D0#4062D0

#4062D0 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.174 H 267.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4062D0
RGBrgb(64, 98, 208)
HSLhsl(226, 61%, 53%)
HSVhsv(226, 69%, 82%)
CMYKcmyk(69.2%, 52.9%, 0%, 18.4%)
CIE-LABlab(44.77, 24.46, -60.54)
CIE-LCHlch(44.77, 65.30, 292.00°)
OKLaboklab(53.29% -0.0083 -0.1741)
OKLCHoklch(53.29% 0.174 267.3)
XYZxyz(17.8633, 14.3776, 61.4960)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4062D0 #D0AE40
analogous
#40AAD0 #4062D0 #6640D0
triadic
#4062D0 #D04062 #62D040
tetradic
#4062D0 #D040AA #D0AE40 #40D066
square
#4062D0 #D040AA #D0AE40 #40D066
split-complementary
#4062D0 #D06640 #AAD040
monochromatic
#1E3378 #2A48A9 #4062D0 #718ADC #A2B3E8

Accessibility & contrast

On white

5.42
#4062D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4062D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4062D0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4062D0#FFFFFF#000000##FFFFFF
##4062D01.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1471D4
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4062d0;
/* rgb */ color: rgb(64, 98, 208);
/* oklch */ color: oklch(53.3% 0.174 267.3);
Tailwind
colors: {
  custom: {
    50: '#868edf',
    500: '#4062d0',
    950: '#000000',
  },
}
SCSS
$custom: #4062d0;
$custom-light: #868edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4062d0",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 208
  },
  "hsl": {
    "h": 225.833,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.1743,
    "h": 267.3
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#4062D0
secondary
#D5C697
accent
#BE44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4062D0

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

Preview Lab → · Contrast checker → · Palette generator →

#4062D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva