#4067C1#4067C1

#4067C1 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.2% C 0.148 H 264.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4067C1
RGBrgb(64, 103, 193)
HSLhsl(222, 51%, 50%)
HSVhsv(222, 67%, 76%)
CMYKcmyk(66.8%, 46.6%, 0%, 24.3%)
CIE-LABlab(45.14, 15.90, -51.32)
CIE-LCHlch(45.14, 53.72, 287.21°)
OKLaboklab(53.25% -0.0145 -0.1469)
OKLCHoklch(53.25% 0.148 264.4)
XYZxyz(16.5869, 14.6391, 52.3932)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067C1 #C19A40
analogous
#40A8C1 #4067C1 #5940C1
triadic
#4067C1 #C14067 #67C140
tetradic
#4067C1 #C140A8 #C19A40 #40C159
square
#4067C1 #C140A8 #C19A40 #40C159
split-complementary
#4067C1 #C15940 #A8C140
monochromatic
#213666 #304E94 #4067C1 #6E8CD0 #9CB1DF

Accessibility & contrast

On white

5.35
#4067C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4067C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067C1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067C1#FFFFFF#000000##FFFFFF
##4067C11.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C4
Deuteranopia (green-blind)
#1F65BF
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4067c1;
/* rgb */ color: rgb(64, 103, 193);
/* oklch */ color: oklch(53.2% 0.148 264.4);
Tailwind
colors: {
  custom: {
    50: '#8391d4',
    500: '#4067c1',
    950: '#000000',
  },
}
SCSS
$custom: #4067c1;
$custom-light: #8391d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4067c1",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 193
  },
  "hsl": {
    "h": 221.86,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.1476,
    "h": 264.4
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#4067C1
secondary
#CBBA92
accent
#B04DDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4067C1

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

Preview Lab → · Contrast checker → · Palette generator →

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