#4068DA#4068DA

#4068DA is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.2% C 0.180 H 266.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4068DA
RGBrgb(64, 104, 218)
HSLhsl(224, 68%, 55%)
HSVhsv(224, 71%, 85%)
CMYKcmyk(70.6%, 52.3%, 0%, 14.5%)
CIE-LABlab(47.04, 24.25, -62.58)
CIE-LCHlch(47.04, 67.11, 291.18°)
OKLaboklab(55.22% -0.0124 -0.18)
OKLCHoklch(55.22% 0.18 266)
XYZxyz(19.7151, 16.0505, 68.3751)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068DA #DAB240
analogous
#40B5DA #4068DA #6540DA
triadic
#4068DA #DA4068 #68DA40
tetradic
#4068DA #DA40B5 #DAB240 #40DA65
square
#4068DA #DA40B5 #DAB240 #40DA65
split-complementary
#4068DA #DA6540 #B5DA40
monochromatic
#1A3686 #244BB9 #4068DA #7391E4 #A7B9EE

Accessibility & contrast

On white

4.99
#4068DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4068DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068DA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068DA#FFFFFF#000000##FFFFFF
##4068DA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1977DE
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4068da;
/* rgb */ color: rgb(64, 104, 218);
/* oklch */ color: oklch(55.2% 0.180 266.0);
Tailwind
colors: {
  custom: {
    50: '#8792e6',
    500: '#4068da',
    950: '#000000',
  },
}
SCSS
$custom: #4068da;
$custom-light: #8792e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4068da",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 224.416,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.18042,
    "h": 266
  },
  "luminance": 0.16053
}

Semantic roles & 50–950 ramp

primary
#4068DA
secondary
#DBCA9B
accent
#BD3DEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4068DA

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

Preview Lab → · Contrast checker → · Palette generator →

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