#4067BD#4067BD

#4067BD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.0% C 0.142 H 263.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4067BD
RGBrgb(64, 103, 189)
HSLhsl(221, 49%, 50%)
HSVhsv(221, 66%, 74%)
CMYKcmyk(66.1%, 45.5%, 0%, 25.9%)
CIE-LABlab(44.89, 14.46, -49.39)
CIE-LCHlch(44.89, 51.47, 286.32°)
OKLaboklab(52.98% -0.0152 -0.1412)
OKLCHoklch(52.98% 0.142 263.9)
XYZxyz(16.1467, 14.4631, 50.0750)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067BD #BD9640
analogous
#40A6BD #4067BD #5840BD
triadic
#4067BD #BD4067 #67BD40
tetradic
#4067BD #BD40A6 #BD9640 #40BD58
square
#4067BD #BD40A6 #BD9640 #40BD58
split-complementary
#4067BD #BD5840 #A6BD40
monochromatic
#213562 #314E8F #4067BD #6D8BCD #9AAFDD

Accessibility & contrast

On white

5.39
#4067BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4067BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067BD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067BD#FFFFFF#000000##FFFFFF
##4067BD1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70C0
Deuteranopia (green-blind)
#2665BB
Tritanopia (blue-blind)
#007B89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4067bd;
/* rgb */ color: rgb(64, 103, 189);
/* oklch */ color: oklch(53.0% 0.142 263.9);
Tailwind
colors: {
  custom: {
    50: '#8291d1',
    500: '#4067bd',
    950: '#000000',
  },
}
SCSS
$custom: #4067bd;
$custom-light: #8291d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4067bd",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 189
  },
  "hsl": {
    "h": 221.28,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52981,
    "c": 0.14204,
    "h": 263.9
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#4067BD
secondary
#C9B790
accent
#AE4FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4067BD

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

Preview Lab → · Contrast checker → · Palette generator →

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