#4068E6#4068E6

#4068E6 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.196 H 266.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4068E6
RGBrgb(64, 104, 230)
HSLhsl(226, 77%, 58%)
HSVhsv(226, 72%, 90%)
CMYKcmyk(72.2%, 54.8%, 0%, 9.8%)
CIE-LABlab(47.88, 28.55, -68.00)
CIE-LCHlch(47.88, 73.76, 292.78°)
OKLaboklab(56.12% -0.0115 -0.196)
OKLCHoklch(56.12% 0.196 266.6)
XYZxyz(21.3426, 16.7015, 76.9465)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068E6 #E6BE40
analogous
#40BBE6 #4068E6 #6B40E6
triadic
#4068E6 #E64068 #68E640
tetradic
#4068E6 #E640BB #E6BE40 #40E66B
square
#4068E6 #E640BB #E6BE40 #40E66B
split-complementary
#4068E6 #E66B40 #BBE640
monochromatic
#143498 #1B46CE #4068E6 #7693ED #ACBEF4

Accessibility & contrast

On white

4.84
#4068E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4068E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068E6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068E6#FFFFFF#000000##FFFFFF
##4068E61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4068e6;
/* rgb */ color: rgb(64, 104, 230);
/* oklch */ color: oklch(56.1% 0.196 266.6);
Tailwind
colors: {
  custom: {
    50: '#8a92ef',
    500: '#4068e6',
    950: '#000000',
  },
}
SCSS
$custom: #4068e6;
$custom-light: #8a92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4068e6",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 225.542,
    "s": 76.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.1963,
    "h": 266.6
  },
  "luminance": 0.16704
}

Semantic roles & 50–950 ramp

primary
#4068E6
secondary
#E2D29F
accent
#C534F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4068E6

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

Preview Lab → · Contrast checker → · Palette generator →

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