#4063E6#4063E6

#4063E6 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.2% C 0.202 H 267.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4063E6
RGBrgb(64, 99, 230)
HSLhsl(227, 77%, 58%)
HSVhsv(227, 72%, 90%)
CMYKcmyk(72.2%, 57%, 0%, 9.8%)
CIE-LABlab(46.61, 31.69, -70.07)
CIE-LCHlch(46.61, 76.90, 294.34°)
OKLaboklab(55.17% -0.0079 -0.2021)
OKLCHoklch(55.17% 0.202 267.8)
XYZxyz(20.8542, 15.7246, 76.7837)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063E6 #E6C340
analogous
#40B6E6 #4063E6 #7040E6
triadic
#4063E6 #E64063 #63E640
tetradic
#4063E6 #E640B6 #E6C340 #40E670
square
#4063E6 #E640B6 #E6C340 #40E670
split-complementary
#4063E6 #E67040 #B6E640
monochromatic
#143098 #1B41CE #4063E6 #768FED #ACBBF4

Accessibility & contrast

On white

5.07
#4063E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4063E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063E6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063E6#FFFFFF#000000##FFFFFF
##4063E61.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4063e6;
/* rgb */ color: rgb(64, 99, 230);
/* oklch */ color: oklch(55.2% 0.202 267.8);
Tailwind
colors: {
  custom: {
    50: '#8a8fef',
    500: '#4063e6',
    950: '#000000',
  },
}
SCSS
$custom: #4063e6;
$custom-light: #8a8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#4063e6",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 230
  },
  "hsl": {
    "h": 227.349,
    "s": 76.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.20225,
    "h": 267.8
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#4063E6
secondary
#E2D49F
accent
#CB34F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #4063E6

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

Preview Lab → · Contrast checker → · Palette generator →

#4063E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva