#4068BB#4068BB

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

Color values

HEX#4068BB
RGBrgb(64, 104, 187)
HSLhsl(220, 49%, 49%)
HSVhsv(220, 66%, 73%)
CMYKcmyk(65.8%, 44.4%, 0%, 26.7%)
CIE-LABlab(45.05, 13.11, -47.98)
CIE-LCHlch(45.05, 49.74, 285.29°)
OKLaboklab(53.07% -0.0165 -0.137)
OKLCHoklch(53.07% 0.138 263.1)
XYZxyz(16.0312, 14.5769, 48.9729)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068BB #BB9340
analogous
#40A6BB #4068BB #5640BB
triadic
#4068BB #BB4068 #68BB40
tetradic
#4068BB #BB40A6 #BB9340 #40BB56
square
#4068BB #BB40A6 #BB9340 #40BB56
split-complementary
#4068BB #BB5640 #A6BB40
monochromatic
#213560 #304F8D #4068BB #6C8BCD #99AFDC

Accessibility & contrast

On white

5.36
#4068BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4068BB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068BB#FFFFFF#000000##FFFFFF
##4068BB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071BE
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#007B88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4068bb;
/* rgb */ color: rgb(64, 104, 187);
/* oklch */ color: oklch(53.1% 0.138 263.1);
Tailwind
colors: {
  custom: {
    50: '#8192d0',
    500: '#4068bb',
    950: '#000000',
  },
}
SCSS
$custom: #4068bb;
$custom-light: #8192d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4068bb",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 220.488,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.13804,
    "h": 263.1
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4068BB

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

Preview Lab → · Contrast checker → · Palette generator →

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