#4068CF#4068CF

#4068CF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.4% C 0.166 H 265.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4068CF
RGBrgb(64, 104, 207)
HSLhsl(223, 60%, 53%)
HSVhsv(223, 69%, 81%)
CMYKcmyk(69.1%, 49.8%, 0%, 18.8%)
CIE-LABlab(46.30, 20.29, -57.49)
CIE-LCHlch(46.30, 60.97, 289.44°)
OKLaboklab(54.43% -0.0136 -0.165)
OKLCHoklch(54.43% 0.166 265.3)
XYZxyz(18.3232, 15.4938, 61.0443)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068CF #CFA740
analogous
#40AFCF #4068CF #5F40CF
triadic
#4068CF #CF4068 #68CF40
tetradic
#4068CF #CF40AF #CFA740 #40CF5F
square
#4068CF #CF40AF #CFA740 #40CF5F
split-complementary
#4068CF #CF5F40 #AFCF40
monochromatic
#1E3777 #2A4DA8 #4068CF #718FDB #A2B5E8

Accessibility & contrast

On white

5.12
#4068CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4068CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068CF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068CF#FFFFFF#000000##FFFFFF
##4068CF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C75D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4068cf;
/* rgb */ color: rgb(64, 104, 207);
/* oklch */ color: oklch(54.4% 0.166 265.3);
Tailwind
colors: {
  custom: {
    50: '#8592de',
    500: '#4068cf',
    950: '#000000',
  },
}
SCSS
$custom: #4068cf;
$custom-light: #8592de;
$custom-dark: #000000;
JSON
{
  "hex": "#4068cf",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 223.217,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54427,
    "c": 0.1656,
    "h": 265.3
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#4068CF
secondary
#D4C397
accent
#B745E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4068CF

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

Preview Lab → · Contrast checker → · Palette generator →

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