#4067C7#4067C7

#4067C7 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.7% C 0.156 H 265.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4067C7
RGBrgb(64, 103, 199)
HSLhsl(223, 55%, 52%)
HSVhsv(223, 68%, 78%)
CMYKcmyk(67.8%, 48.2%, 0%, 22%)
CIE-LABlab(45.51, 18.05, -54.17)
CIE-LCHlch(45.51, 57.10, 288.43°)
OKLaboklab(53.66% -0.0137 -0.1553)
OKLCHoklch(53.66% 0.156 265)
XYZxyz(17.2698, 14.9123, 55.9900)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067C7 #C7A040
analogous
#40AAC7 #4067C7 #5D40C7
triadic
#4067C7 #C74067 #67C740
tetradic
#4067C7 #C740AA #C7A040 #40C75D
square
#4067C7 #C740AA #C7A040 #40C75D
split-complementary
#4067C7 #C75D40 #AAC740
monochromatic
#20366D #2E4E9C #4067C7 #6F8DD5 #9FB2E3

Accessibility & contrast

On white

5.27
#4067C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4067C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067C7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067C7#FFFFFF#000000##FFFFFF
##4067C71.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3372CB
Deuteranopia (green-blind)
#1066C5
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4067c7;
/* rgb */ color: rgb(64, 103, 199);
/* oklch */ color: oklch(53.7% 0.156 265.0);
Tailwind
colors: {
  custom: {
    50: '#8491d9',
    500: '#4067c7',
    950: '#000000',
  },
}
SCSS
$custom: #4067c7;
$custom-light: #8491d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4067c7",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 199
  },
  "hsl": {
    "h": 222.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.15588,
    "h": 265
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#4067C7
secondary
#CFBE94
accent
#B34ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4067C7

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

Preview Lab → · Contrast checker → · Palette generator →

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