#4068D0#4068D0

#4068D0 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.5% C 0.167 H 265.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4068D0
RGBrgb(64, 104, 208)
HSLhsl(223, 61%, 53%)
HSVhsv(223, 69%, 82%)
CMYKcmyk(69.2%, 50%, 0%, 18.4%)
CIE-LABlab(46.37, 20.65, -57.96)
CIE-LCHlch(46.37, 61.53, 289.61°)
OKLaboklab(54.5% -0.0134 -0.1664)
OKLCHoklch(54.5% 0.167 265.4)
XYZxyz(18.4458, 15.5428, 61.6902)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068D0 #D0A840
analogous
#40B0D0 #4068D0 #6040D0
triadic
#4068D0 #D04068 #68D040
tetradic
#4068D0 #D040B0 #D0A840 #40D060
square
#4068D0 #D040B0 #D0A840 #40D060
split-complementary
#4068D0 #D06040 #B0D040
monochromatic
#1E3778 #2A4DA9 #4068D0 #718FDC #A2B6E8

Accessibility & contrast

On white

5.11
#4068D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4068D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068D0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068D0#FFFFFF#000000##FFFFFF
##4068D01.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B75D4
Deuteranopia (green-blind)
#0068CE
Tritanopia (blue-blind)
#008192
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4068d0;
/* rgb */ color: rgb(64, 104, 208);
/* oklch */ color: oklch(54.5% 0.167 265.4);
Tailwind
colors: {
  custom: {
    50: '#8592df',
    500: '#4068d0',
    950: '#000000',
  },
}
SCSS
$custom: #4068d0;
$custom-light: #8592df;
$custom-dark: #000000;
JSON
{
  "hex": "#4068d0",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 208
  },
  "hsl": {
    "h": 223.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.16695,
    "h": 265.4
  },
  "luminance": 0.15545
}

Semantic roles & 50–950 ramp

primary
#4068D0
secondary
#D5C497
accent
#B744E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4068D0

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

Preview Lab → · Contrast checker → · Palette generator →

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