#4067D5#4067D5

#4067D5 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.7% C 0.175 H 266.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4067D5
RGBrgb(64, 103, 213)
HSLhsl(224, 64%, 54%)
HSVhsv(224, 70%, 84%)
CMYKcmyk(70%, 51.6%, 0%, 16.5%)
CIE-LABlab(46.44, 23.08, -60.71)
CIE-LCHlch(46.44, 64.95, 290.82°)
OKLaboklab(54.66% -0.0121 -0.1745)
OKLCHoklch(54.66% 0.175 266)
XYZxyz(18.9706, 15.5926, 64.9478)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067D5 #D5AE40
analogous
#40B2D5 #4067D5 #6440D5
triadic
#4067D5 #D54067 #67D540
tetradic
#4067D5 #D540B2 #D5AE40 #40D564
square
#4067D5 #D540B2 #D5AE40 #40D564
split-complementary
#4067D5 #D56440 #B2D540
monochromatic
#1C367F #274BB1 #4067D5 #728FE0 #A4B7EB

Accessibility & contrast

On white

5.10
#4067D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4067D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067D5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067D5#FFFFFF#000000##FFFFFF
##4067D51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2075D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#008194
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4067d5;
/* rgb */ color: rgb(64, 103, 213);
/* oklch */ color: oklch(54.7% 0.175 266.0);
Tailwind
colors: {
  custom: {
    50: '#8691e3',
    500: '#4067d5',
    950: '#000000',
  },
}
SCSS
$custom: #4067d5;
$custom-light: #8691e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4067d5",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 213
  },
  "hsl": {
    "h": 224.295,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54655,
    "c": 0.17493,
    "h": 266
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#4067D5
secondary
#D8C799
accent
#BB41E7
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C15
muted
#7D7D84

Preview Lab

Preview with #4067D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4067D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva