#4063B2#4063B2

#4063B2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.132 H 264.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4063B2
RGBrgb(64, 99, 178)
HSLhsl(222, 47%, 47%)
HSVhsv(222, 64%, 70%)
CMYKcmyk(64%, 44.4%, 0%, 30.2%)
CIE-LABlab(43.10, 13.08, -45.84)
CIE-LCHlch(43.10, 47.67, 285.93°)
OKLaboklab(51.39% -0.0131 -0.1308)
OKLCHoklch(51.39% 0.132 264.3)
XYZxyz(14.6093, 13.2267, 43.8940)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063B2 #B28F40
analogous
#409CB2 #4063B2 #5640B2
triadic
#4063B2 #B24063 #63B240
tetradic
#4063B2 #B2409C #B28F40 #40B256
square
#4063B2 #B2409C #B28F40 #40B256
split-complementary
#4063B2 #B25640 #9CB240
monochromatic
#203158 #304A85 #4063B2 #6785C8 #94A9D8

Accessibility & contrast

On white

5.76
#4063B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4063B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063B2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063B2#FFFFFF#000000##FFFFFF
##4063B21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4063b2;
/* rgb */ color: rgb(64, 99, 178);
/* oklch */ color: oklch(51.4% 0.132 264.3);
Tailwind
colors: {
  custom: {
    50: '#808ec9',
    500: '#4063b2',
    950: '#000000',
  },
}
SCSS
$custom: #4063b2;
$custom-light: #808ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#4063b2",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 221.579,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.1315,
    "h": 264.3
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#4063B2
secondary
#C4B28A
accent
#AE51D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4063B2

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

Preview Lab → · Contrast checker → · Palette generator →

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