#4067BF#4067BF

#4067BF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.1% C 0.145 H 264.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4067BF
RGBrgb(64, 103, 191)
HSLhsl(222, 50%, 50%)
HSVhsv(222, 66%, 75%)
CMYKcmyk(66.5%, 46.1%, 0%, 25.1%)
CIE-LABlab(45.01, 15.18, -50.36)
CIE-LCHlch(45.01, 52.60, 286.77°)
OKLaboklab(53.12% -0.0148 -0.1441)
OKLCHoklch(53.12% 0.145 264.1)
XYZxyz(16.3653, 14.5505, 51.2262)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067BF #BF9840
analogous
#40A6BF #4067BF #5940BF
triadic
#4067BF #BF4067 #67BF40
tetradic
#4067BF #BF40A6 #BF9840 #40BF59
square
#4067BF #BF40A6 #BF9840 #40BF59
split-complementary
#4067BF #BF5940 #A6BF40
monochromatic
#213663 #314E91 #4067BF #6E8BCE #9CB0DE

Accessibility & contrast

On white

5.37
#4067BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4067BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067BF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067BF#FFFFFF#000000##FFFFFF
##4067BF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#2365BD
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4067bf;
/* rgb */ color: rgb(64, 103, 191);
/* oklch */ color: oklch(53.1% 0.145 264.1);
Tailwind
colors: {
  custom: {
    50: '#8291d3',
    500: '#4067bf',
    950: '#000000',
  },
}
SCSS
$custom: #4067bf;
$custom-light: #8291d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4067bf",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 191
  },
  "hsl": {
    "h": 221.575,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.53115,
    "c": 0.14482,
    "h": 264.1
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#4067BF
secondary
#CAB891
accent
#AF4ED9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4067BF

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

Preview Lab → · Contrast checker → · Palette generator →

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