#4067D8#4067D8

#4067D8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.179 H 266.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4067D8
RGBrgb(64, 103, 216)
HSLhsl(225, 66%, 55%)
HSVhsv(225, 70%, 85%)
CMYKcmyk(70.4%, 52.3%, 0%, 15.3%)
CIE-LABlab(46.64, 24.16, -62.09)
CIE-LCHlch(46.64, 66.62, 291.26°)
OKLaboklab(54.87% -0.0118 -0.1786)
OKLCHoklch(54.87% 0.179 266.2)
XYZxyz(19.3549, 15.7464, 66.9718)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067D8 #D8B140
analogous
#40B3D8 #4067D8 #6540D8
triadic
#4067D8 #D84067 #67D840
tetradic
#4067D8 #D840B3 #D8B140 #40D865
square
#4067D8 #D840B3 #D8B140 #40D865
split-complementary
#4067D8 #D86540 #B3D840
monochromatic
#1B3583 #254AB6 #4067D8 #738FE2 #A6B8ED

Accessibility & contrast

On white

5.06
#4067D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4067D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067D8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067D8#FFFFFF#000000##FFFFFF
##4067D81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1976DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#008295
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4067d8;
/* rgb */ color: rgb(64, 103, 216);
/* oklch */ color: oklch(54.9% 0.179 266.2);
Tailwind
colors: {
  custom: {
    50: '#8791e5',
    500: '#4067d8',
    950: '#000000',
  },
}
SCSS
$custom: #4067d8;
$custom-light: #8791e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4067d8",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 216
  },
  "hsl": {
    "h": 224.605,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.17896,
    "h": 266.2
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#4067D8
secondary
#DAC99A
accent
#BD3FE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4067D8

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

Preview Lab → · Contrast checker → · Palette generator →

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