#4063C2#4063C2

#4063C2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.5% C 0.154 H 266.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4063C2
RGBrgb(64, 99, 194)
HSLhsl(224, 52%, 51%)
HSVhsv(224, 67%, 76%)
CMYKcmyk(67%, 49%, 0%, 23.9%)
CIE-LABlab(44.10, 18.80, -53.56)
CIE-LCHlch(44.10, 56.77, 289.34°)
OKLaboklab(52.48% -0.0106 -0.1535)
OKLCHoklch(52.48% 0.154 266)
XYZxyz(16.3104, 13.9071, 52.8533)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063C2 #C29F40
analogous
#40A4C2 #4063C2 #5E40C2
triadic
#4063C2 #C24063 #63C240
tetradic
#4063C2 #C240A4 #C29F40 #40C25E
square
#4063C2 #C240A4 #C29F40 #40C25E
split-complementary
#4063C2 #C25E40 #A4C240
monochromatic
#213467 #304B95 #4063C2 #6E89D1 #9DAFE0

Accessibility & contrast

On white

5.55
#4063C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4063C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063C2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063C2#FFFFFF#000000##FFFFFF
##4063C21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC5
Deuteranopia (green-blind)
#0B63C0
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4063c2;
/* rgb */ color: rgb(64, 99, 194);
/* oklch */ color: oklch(52.5% 0.154 266.0);
Tailwind
colors: {
  custom: {
    50: '#838ed5',
    500: '#4063c2',
    950: '#000000',
  },
}
SCSS
$custom: #4063c2;
$custom-light: #838ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4063c2",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 194
  },
  "hsl": {
    "h": 223.846,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.15391,
    "h": 266
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#4063C2
secondary
#CCBC92
accent
#B54DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4063C2

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

Preview Lab → · Contrast checker → · Palette generator →

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