#4067CB#4067CB

#4067CB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.9% C 0.161 H 265.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4067CB
RGBrgb(64, 103, 203)
HSLhsl(223, 57%, 52%)
HSVhsv(223, 68%, 80%)
CMYKcmyk(68.5%, 49.3%, 0%, 20.4%)
CIE-LABlab(45.77, 19.49, -56.06)
CIE-LCHlch(45.77, 59.35, 289.17°)
OKLaboklab(53.94% -0.0131 -0.1608)
OKLCHoklch(53.94% 0.161 265.3)
XYZxyz(17.7403, 15.1005, 58.4681)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067CB #CBA440
analogous
#40ADCB #4067CB #5E40CB
triadic
#4067CB #CB4067 #67CB40
tetradic
#4067CB #CB40AD #CBA440 #40CB5E
square
#4067CB #CB40AD #CBA440 #40CB5E
split-complementary
#4067CB #CB5E40 #ADCB40
monochromatic
#1F3672 #2C4DA2 #4067CB #708DD8 #A0B4E5

Accessibility & contrast

On white

5.22
#4067CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4067CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067CB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067CB#FFFFFF#000000##FFFFFF
##4067CB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4067cb;
/* rgb */ color: rgb(64, 103, 203);
/* oklch */ color: oklch(53.9% 0.161 265.3);
Tailwind
colors: {
  custom: {
    50: '#8491db',
    500: '#4067cb',
    950: '#000000',
  },
}
SCSS
$custom: #4067cb;
$custom-light: #8491db;
$custom-dark: #000000;
JSON
{
  "hex": "#4067cb",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 203
  },
  "hsl": {
    "h": 223.165,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53939,
    "c": 0.16137,
    "h": 265.3
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#4067CB
secondary
#D2C195
accent
#B547E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4067CB

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

Preview Lab → · Contrast checker → · Palette generator →

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