#4068C7#4068C7

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

Color values

HEX#4068C7
RGBrgb(64, 104, 199)
HSLhsl(222, 55%, 52%)
HSVhsv(222, 68%, 78%)
CMYKcmyk(67.8%, 47.7%, 0%, 22%)
CIE-LABlab(45.79, 17.41, -53.73)
CIE-LCHlch(45.79, 56.48, 287.96°)
OKLaboklab(53.87% -0.0146 -0.154)
OKLCHoklch(53.87% 0.155 264.6)
XYZxyz(17.3699, 15.1124, 56.0233)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068C7 #C79F40
analogous
#40ACC7 #4068C7 #5C40C7
triadic
#4068C7 #C74068 #68C740
tetradic
#4068C7 #C740AC #C79F40 #40C75C
square
#4068C7 #C740AC #C79F40 #40C75C
split-complementary
#4068C7 #C75C40 #ACC740
monochromatic
#20376D #2E4E9C #4068C7 #6F8DD5 #9FB3E3

Accessibility & contrast

On white

5.22
#4068C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4068C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068C7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068C7#FFFFFF#000000##FFFFFF
##4068C71.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)
#3673CB
Deuteranopia (green-blind)
#1667C5
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4068c7;
/* rgb */ color: rgb(64, 104, 199);
/* oklch */ color: oklch(53.9% 0.155 264.6);
Tailwind
colors: {
  custom: {
    50: '#8492d9',
    500: '#4068c7',
    950: '#000000',
  },
}
SCSS
$custom: #4068c7;
$custom-light: #8492d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4068c7",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 199
  },
  "hsl": {
    "h": 222.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53869,
    "c": 0.15466,
    "h": 264.6
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#4068C7
secondary
#CFBD94
accent
#B24ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4068C7

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

Preview Lab → · Contrast checker → · Palette generator →

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