#4067C4#4067C4

#4067C4 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.5% C 0.152 H 264.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4067C4
RGBrgb(64, 103, 196)
HSLhsl(222, 53%, 51%)
HSVhsv(222, 67%, 77%)
CMYKcmyk(67.3%, 47.4%, 0%, 23.1%)
CIE-LABlab(45.32, 16.97, -52.75)
CIE-LCHlch(45.32, 55.41, 287.84°)
OKLaboklab(53.45% -0.0141 -0.1511)
OKLCHoklch(53.45% 0.152 264.7)
XYZxyz(16.9249, 14.7744, 54.1736)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067C4 #C49D40
analogous
#40A9C4 #4067C4 #5B40C4
triadic
#4067C4 #C44067 #67C440
tetradic
#4067C4 #C440A9 #C49D40 #40C45B
square
#4067C4 #C440A9 #C49D40 #40C45B
split-complementary
#4067C4 #C45B40 #A9C440
monochromatic
#203669 #2F4E98 #4067C4 #6F8CD2 #9EB1E1

Accessibility & contrast

On white

5.31
#4067C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4067C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067C4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067C4#FFFFFF#000000##FFFFFF
##4067C41.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3672C7
Deuteranopia (green-blind)
#1966C2
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4067c4;
/* rgb */ color: rgb(64, 103, 196);
/* oklch */ color: oklch(53.5% 0.152 264.7);
Tailwind
colors: {
  custom: {
    50: '#8391d6',
    500: '#4067c4',
    950: '#000000',
  },
}
SCSS
$custom: #4067c4;
$custom-light: #8391d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4067c4",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 196
  },
  "hsl": {
    "h": 222.273,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.15175,
    "h": 264.7
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#4067C4
secondary
#CDBC93
accent
#B14CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4067C4

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

Preview Lab → · Contrast checker → · Palette generator →

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