#4067C2#4067C2

#4067C2 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.3% C 0.149 H 264.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4067C2
RGBrgb(64, 103, 194)
HSLhsl(222, 52%, 51%)
HSVhsv(222, 67%, 76%)
CMYKcmyk(67%, 46.9%, 0%, 23.9%)
CIE-LABlab(45.20, 16.25, -51.80)
CIE-LCHlch(45.20, 54.29, 287.42°)
OKLaboklab(53.32% -0.0144 -0.1483)
OKLCHoklch(53.32% 0.149 264.5)
XYZxyz(16.6988, 14.6839, 52.9827)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4067C2 #C29B40
analogous
#40A8C2 #4067C2 #5A40C2
triadic
#4067C2 #C24067 #67C240
tetradic
#4067C2 #C240A8 #C29B40 #40C25A
square
#4067C2 #C240A8 #C29B40 #40C25A
split-complementary
#4067C2 #C25A40 #A8C240
monochromatic
#213667 #304E95 #4067C2 #6E8CD1 #9DB1E0

Accessibility & contrast

On white

5.33
#4067C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4067C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4067C2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4067C2#FFFFFF#000000##FFFFFF
##4067C21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3871C5
Deuteranopia (green-blind)
#1D65C0
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4067c2;
/* rgb */ color: rgb(64, 103, 194);
/* oklch */ color: oklch(53.3% 0.149 264.5);
Tailwind
colors: {
  custom: {
    50: '#8391d5',
    500: '#4067c2',
    950: '#000000',
  },
}
SCSS
$custom: #4067c2;
$custom-light: #8391d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4067c2",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 194
  },
  "hsl": {
    "h": 222,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.14898,
    "h": 264.5
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#4067C2
secondary
#CCBA92
accent
#B04DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4067C2

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

Preview Lab → · Contrast checker → · Palette generator →

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