#4068DF#4068DF

#4068DF is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.6% C 0.187 H 266.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4068DF
RGBrgb(64, 104, 223)
HSLhsl(225, 71%, 56%)
HSVhsv(225, 71%, 87%)
CMYKcmyk(71.3%, 53.4%, 0%, 12.5%)
CIE-LABlab(47.39, 26.05, -64.85)
CIE-LCHlch(47.39, 69.89, 291.88°)
OKLaboklab(55.59% -0.012 -0.1867)
OKLCHoklch(55.59% 0.187 266.3)
XYZxyz(20.3793, 16.3162, 71.8730)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068DF #DFB740
analogous
#40B7DF #4068DF #6840DF
triadic
#4068DF #DF4068 #68DF40
tetradic
#4068DF #DF40B7 #DFB740 #40DF68
square
#4068DF #DF40B7 #DFB740 #40DF68
split-complementary
#4068DF #DF6840 #B7DF40
monochromatic
#18358D #2049C1 #4068DF #7491E8 #A9BBF1

Accessibility & contrast

On white

4.93
#4068DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4068DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068DF#FFFFFF#000000##FFFFFF
##4068DF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0878E3
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4068df;
/* rgb */ color: rgb(64, 104, 223);
/* oklch */ color: oklch(55.6% 0.187 266.3);
Tailwind
colors: {
  custom: {
    50: '#8892ea',
    500: '#4068df',
    950: '#000000',
  },
}
SCSS
$custom: #4068df;
$custom-light: #8892ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4068df",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 224.906,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.18708,
    "h": 266.3
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#4068DF
secondary
#DECE9D
accent
#C13AEE
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4068DF

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

Preview Lab → · Contrast checker → · Palette generator →

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