#4068CE#4068CE

#4068CE is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.4% C 0.164 H 265.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4068CE
RGBrgb(64, 104, 206)
HSLhsl(223, 59%, 53%)
HSVhsv(223, 69%, 81%)
CMYKcmyk(68.9%, 49.5%, 0%, 19.2%)
CIE-LABlab(46.24, 19.93, -57.03)
CIE-LCHlch(46.24, 60.41, 289.27°)
OKLaboklab(54.36% -0.0137 -0.1637)
OKLCHoklch(54.36% 0.164 265.2)
XYZxyz(18.2013, 15.4450, 60.4025)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068CE #CEA640
analogous
#40AFCE #4068CE #5F40CE
triadic
#4068CE #CE4068 #68CE40
tetradic
#4068CE #CE40AF #CEA640 #40CE5F
square
#4068CE #CE40AF #CEA640 #40CE5F
split-complementary
#4068CE #CE5F40 #AFCE40
monochromatic
#1E3775 #2B4DA6 #4068CE #718FDA #A1B5E7

Accessibility & contrast

On white

5.14
#4068CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4068CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068CE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068CE#FFFFFF#000000##FFFFFF
##4068CE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4068ce;
/* rgb */ color: rgb(64, 104, 206);
/* oklch */ color: oklch(54.4% 0.164 265.2);
Tailwind
colors: {
  custom: {
    50: '#8592de',
    500: '#4068ce',
    950: '#000000',
  },
}
SCSS
$custom: #4068ce;
$custom-light: #8592de;
$custom-dark: #000000;
JSON
{
  "hex": "#4068ce",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 206
  },
  "hsl": {
    "h": 223.099,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54357,
    "c": 0.16423,
    "h": 265.2
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

primary
#4068CE
secondary
#D4C296
accent
#B645E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4068CE

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

Preview Lab → · Contrast checker → · Palette generator →

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