#4068BC#4068BC

#4068BC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.1% C 0.139 H 263.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4068BC
RGBrgb(64, 104, 188)
HSLhsl(221, 49%, 49%)
HSVhsv(221, 66%, 74%)
CMYKcmyk(66%, 44.7%, 0%, 26.3%)
CIE-LABlab(45.11, 13.47, -48.46)
CIE-LCHlch(45.11, 50.30, 285.53°)
OKLaboklab(53.13% -0.0163 -0.1385)
OKLCHoklch(53.13% 0.139 263.3)
XYZxyz(16.1386, 14.6199, 49.5386)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068BC #BC9440
analogous
#40A6BC #4068BC #5640BC
triadic
#4068BC #BC4068 #68BC40
tetradic
#4068BC #BC40A6 #BC9440 #40BC56
square
#4068BC #BC40A6 #BC9440 #40BC56
split-complementary
#4068BC #BC5640 #A6BC40
monochromatic
#213561 #304F8E #4068BC #6C8BCD #9AAFDD

Accessibility & contrast

On white

5.35
#4068BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4068BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068BC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068BC#FFFFFF#000000##FFFFFF
##4068BC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#007B89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4068bc;
/* rgb */ color: rgb(64, 104, 188);
/* oklch */ color: oklch(53.1% 0.139 263.3);
Tailwind
colors: {
  custom: {
    50: '#8292d1',
    500: '#4068bc',
    950: '#000000',
  },
}
SCSS
$custom: #4068bc;
$custom-light: #8292d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4068bc",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 220.645,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.13943,
    "h": 263.3
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#4068BC
secondary
#C9B68F
accent
#AC4FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0D14
muted
#7C7D82

Preview Lab

Preview with #4068BC

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

Preview Lab → · Contrast checker → · Palette generator →

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