#4068CD#4068CD

#4068CD is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.3% C 0.163 H 265.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4068CD
RGBrgb(64, 104, 205)
HSLhsl(223, 59%, 53%)
HSVhsv(223, 69%, 80%)
CMYKcmyk(68.8%, 49.3%, 0%, 19.6%)
CIE-LABlab(46.17, 19.57, -56.56)
CIE-LCHlch(46.17, 59.85, 289.09°)
OKLaboklab(54.29% -0.0138 -0.1623)
OKLCHoklch(54.29% 0.163 265.1)
XYZxyz(18.0803, 15.3966, 59.7648)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068CD #CDA540
analogous
#40AECD #4068CD #5F40CD
triadic
#4068CD #CD4068 #68CD40
tetradic
#4068CD #CD40AE #CDA540 #40CD5F
square
#4068CD #CD40AE #CDA540 #40CD5F
split-complementary
#4068CD #CD5F40 #AECD40
monochromatic
#1E3774 #2B4EA5 #4068CD #718EDA #A1B5E6

Accessibility & contrast

On white

5.15
#4068CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4068CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068CD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068CD#FFFFFF#000000##FFFFFF
##4068CD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4068cd;
/* rgb */ color: rgb(64, 104, 205);
/* oklch */ color: oklch(54.3% 0.163 265.1);
Tailwind
colors: {
  custom: {
    50: '#8592dd',
    500: '#4068cd',
    950: '#000000',
  },
}
SCSS
$custom: #4068cd;
$custom-light: #8592dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4068cd",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 222.979,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54286,
    "c": 0.16287,
    "h": 265.1
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#4068CD
secondary
#D3C296
accent
#B646E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4068CD

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

Preview Lab → · Contrast checker → · Palette generator →

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