#4068C8#4068C8

#4068C8 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.9% C 0.156 H 264.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4068C8
RGBrgb(64, 104, 200)
HSLhsl(222, 55%, 52%)
HSVhsv(222, 68%, 78%)
CMYKcmyk(68%, 48%, 0%, 21.6%)
CIE-LABlab(45.85, 17.77, -54.21)
CIE-LCHlch(45.85, 57.05, 288.15°)
OKLaboklab(53.94% -0.0144 -0.1554)
OKLCHoklch(53.94% 0.156 264.7)
XYZxyz(17.4863, 15.1590, 56.6368)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068C8 #C8A040
analogous
#40ACC8 #4068C8 #5C40C8
triadic
#4068C8 #C84068 #68C840
tetradic
#4068C8 #C840AC #C8A040 #40C85C
square
#4068C8 #C840AC #C8A040 #40C85C
split-complementary
#4068C8 #C85C40 #ACC840
monochromatic
#20376E #2D4E9D #4068C8 #708ED6 #9FB3E3

Accessibility & contrast

On white

5.21
#4068C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4068C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068C8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068C8#FFFFFF#000000##FFFFFF
##4068C81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3573CC
Deuteranopia (green-blind)
#1367C6
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4068c8;
/* rgb */ color: rgb(64, 104, 200);
/* oklch */ color: oklch(53.9% 0.156 264.7);
Tailwind
colors: {
  custom: {
    50: '#8492d9',
    500: '#4068c8',
    950: '#000000',
  },
}
SCSS
$custom: #4068c8;
$custom-light: #8492d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4068c8",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 222.353,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.15603,
    "h": 264.7
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#4068C8
secondary
#D0BE94
accent
#B349DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4068C8

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

Preview Lab → · Contrast checker → · Palette generator →

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