#4068BD#4068BD

#4068BD is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.2% C 0.141 H 263.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4068BD
RGBrgb(64, 104, 189)
HSLhsl(221, 49%, 50%)
HSVhsv(221, 66%, 74%)
CMYKcmyk(66.1%, 45%, 0%, 25.9%)
CIE-LABlab(45.17, 13.83, -48.95)
CIE-LCHlch(45.17, 50.86, 285.78°)
OKLaboklab(53.2% -0.0161 -0.1399)
OKLCHoklch(53.2% 0.141 263.4)
XYZxyz(16.2468, 14.6632, 50.1083)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068BD #BD9540
analogous
#40A7BD #4068BD #5740BD
triadic
#4068BD #BD4068 #68BD40
tetradic
#4068BD #BD40A7 #BD9540 #40BD57
square
#4068BD #BD40A7 #BD9540 #40BD57
split-complementary
#4068BD #BD5740 #A7BD40
monochromatic
#213662 #314F8F #4068BD #6D8CCD #9AB0DD

Accessibility & contrast

On white

5.34
#4068BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4068BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068BD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068BD#FFFFFF#000000##FFFFFF
##4068BD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F71C0
Deuteranopia (green-blind)
#2966BB
Tritanopia (blue-blind)
#007C89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4068bd;
/* rgb */ color: rgb(64, 104, 189);
/* oklch */ color: oklch(53.2% 0.141 263.4);
Tailwind
colors: {
  custom: {
    50: '#8292d1',
    500: '#4068bd',
    950: '#000000',
  },
}
SCSS
$custom: #4068bd;
$custom-light: #8292d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4068bd",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 189
  },
  "hsl": {
    "h": 220.8,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.14082,
    "h": 263.4
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#4068BD
secondary
#C9B790
accent
#AD4FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0D14
muted
#7D7D82

Preview Lab

Preview with #4068BD

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

Preview Lab → · Contrast checker → · Palette generator →

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