#4067DF#4067DF

#4067DF is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.188 H 266.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4067DF
RGBrgb(64, 103, 223)
HSLhsl(225, 71%, 56%)
HSVhsv(225, 71%, 87%)
CMYKcmyk(71.3%, 53.8%, 0%, 12.5%)
CIE-LABlab(47.13, 26.68, -65.27)
CIE-LCHlch(47.13, 70.51, 292.23°)
OKLaboklab(55.4% -0.0112 -0.1879)
OKLCHoklch(55.4% 0.188 266.6)
XYZxyz(20.2792, 16.1161, 71.8397)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067DF #DFB840
analogous
#40B7DF #4067DF #6940DF
triadic
#4067DF #DF4067 #67DF40
tetradic
#4067DF #DF40B7 #DFB840 #40DF69
square
#4067DF #DF40B7 #DFB840 #40DF69
split-complementary
#4067DF #DF6940 #B7DF40
monochromatic
#18348D #2048C1 #4067DF #7491E8 #A9BAF1

Accessibility & contrast

On white

4.97
#4067DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4067DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067DF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067DF#FFFFFF#000000##FFFFFF
##4067DF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4067df;
/* rgb */ color: rgb(64, 103, 223);
/* oklch */ color: oklch(55.4% 0.188 266.6);
Tailwind
colors: {
  custom: {
    50: '#8891ea',
    500: '#4067df',
    950: '#000000',
  },
}
SCSS
$custom: #4067df;
$custom-light: #8891ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4067df",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 225.283,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.18828,
    "h": 266.6
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#4067DF
secondary
#DECE9D
accent
#C23AEE
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4067DF

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

Preview Lab → · Contrast checker → · Palette generator →

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