#4068D9#4068D9

#4068D9 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.1% C 0.179 H 266.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4068D9
RGBrgb(64, 104, 217)
HSLhsl(224, 67%, 55%)
HSVhsv(224, 71%, 85%)
CMYKcmyk(70.5%, 52.1%, 0%, 14.9%)
CIE-LABlab(46.97, 23.89, -62.12)
CIE-LCHlch(46.97, 66.55, 291.04°)
OKLaboklab(55.15% -0.0125 -0.1786)
OKLCHoklch(55.15% 0.179 266)
XYZxyz(19.5847, 15.9983, 67.6880)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068D9 #D9B140
analogous
#40B4D9 #4068D9 #6540D9
triadic
#4068D9 #D94068 #68D940
tetradic
#4068D9 #D940B4 #D9B140 #40D965
square
#4068D9 #D940B4 #D9B140 #40D965
split-complementary
#4068D9 #D96540 #B4D940
monochromatic
#1A3684 #244BB7 #4068D9 #7390E3 #A6B9ED

Accessibility & contrast

On white

5.00
#4068D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4068D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068D9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068D9#FFFFFF#000000##FFFFFF
##4068D91.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C77DD
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#008396
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4068d9;
/* rgb */ color: rgb(64, 104, 217);
/* oklch */ color: oklch(55.1% 0.179 266.0);
Tailwind
colors: {
  custom: {
    50: '#8792e5',
    500: '#4068d9',
    950: '#000000',
  },
}
SCSS
$custom: #4068d9;
$custom-light: #8792e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4068d9",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 217
  },
  "hsl": {
    "h": 224.314,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.17909,
    "h": 266
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#4068D9
secondary
#DACA9A
accent
#BD3EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4068D9

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

Preview Lab → · Contrast checker → · Palette generator →

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