#4068C2#4068C2

#4068C2 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.5% C 0.148 H 264.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4068C2
RGBrgb(64, 104, 194)
HSLhsl(222, 52%, 51%)
HSVhsv(222, 67%, 76%)
CMYKcmyk(67%, 46.4%, 0%, 23.9%)
CIE-LABlab(45.47, 15.62, -51.35)
CIE-LCHlch(45.47, 53.67, 286.92°)
OKLaboklab(53.53% -0.0153 -0.147)
OKLCHoklch(53.53% 0.148 264)
XYZxyz(16.7989, 14.8840, 53.0161)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068C2 #C29A40
analogous
#40A9C2 #4068C2 #5940C2
triadic
#4068C2 #C24068 #68C240
tetradic
#4068C2 #C240A9 #C29A40 #40C259
square
#4068C2 #C240A9 #C29A40 #40C259
split-complementary
#4068C2 #C25940 #A9C240
monochromatic
#213667 #304F95 #4068C2 #6E8DD1 #9DB1E0

Accessibility & contrast

On white

5.28
#4068C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4068C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068C2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068C2#FFFFFF#000000##FFFFFF
##4068C21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C5
Deuteranopia (green-blind)
#2166C0
Tritanopia (blue-blind)
#007D8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4068c2;
/* rgb */ color: rgb(64, 104, 194);
/* oklch */ color: oklch(53.5% 0.148 264.0);
Tailwind
colors: {
  custom: {
    50: '#8392d5',
    500: '#4068c2',
    950: '#000000',
  },
}
SCSS
$custom: #4068c2;
$custom-light: #8392d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4068c2",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 194
  },
  "hsl": {
    "h": 221.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.14776,
    "h": 264
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#4068C2
secondary
#CCBA92
accent
#AF4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0D14
muted
#7D7D83

Preview Lab

Preview with #4068C2

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

Preview Lab → · Contrast checker → · Palette generator →

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