#4067CF#4067CF

#4067CF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.2% C 0.167 H 265.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4067CF
RGBrgb(64, 103, 207)
HSLhsl(224, 60%, 53%)
HSVhsv(224, 69%, 81%)
CMYKcmyk(69.1%, 50.2%, 0%, 18.8%)
CIE-LABlab(46.03, 20.93, -57.93)
CIE-LCHlch(46.03, 61.59, 289.86°)
OKLaboklab(54.22% -0.0127 -0.1663)
OKLCHoklch(54.22% 0.167 265.6)
XYZxyz(18.2232, 15.2936, 61.0110)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067CF #CFA840
analogous
#40AFCF #4067CF #6040CF
triadic
#4067CF #CF4067 #67CF40
tetradic
#4067CF #CF40AF #CFA840 #40CF60
square
#4067CF #CF40AF #CFA840 #40CF60
split-complementary
#4067CF #CF6040 #AFCF40
monochromatic
#1E3677 #2A4CA8 #4067CF #718EDB #A2B5E8

Accessibility & contrast

On white

5.17
#4067CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4067CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067CF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067CF#FFFFFF#000000##FFFFFF
##4067CF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4067cf;
/* rgb */ color: rgb(64, 103, 207);
/* oklch */ color: oklch(54.2% 0.167 265.6);
Tailwind
colors: {
  custom: {
    50: '#8591de',
    500: '#4067cf',
    950: '#000000',
  },
}
SCSS
$custom: #4067cf;
$custom-light: #8591de;
$custom-dark: #000000;
JSON
{
  "hex": "#4067cf",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 207
  },
  "hsl": {
    "h": 223.636,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.16681,
    "h": 265.6
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#4067CF
secondary
#D4C397
accent
#B845E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4067CF

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

Preview Lab → · Contrast checker → · Palette generator →

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