#4068AB#4068AB

#4068AB is a mid, moderate blue. Relative luminance 0.139; OKLCH L 52.1% C 0.116 H 260.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4068AB
RGBrgb(64, 104, 171)
HSLhsl(218, 46%, 46%)
HSVhsv(218, 63%, 67%)
CMYKcmyk(62.6%, 39.2%, 0%, 32.9%)
CIE-LABlab(44.13, 7.44, -40.10)
CIE-LCHlch(44.13, 40.78, 280.51°)
OKLaboklab(52.06% -0.0198 -0.1139)
OKLCHoklch(52.06% 0.116 260.2)
XYZxyz(14.4128, 13.9296, 40.4493)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068AB #AB8340
analogous
#409DAB #4068AB #4D40AB
triadic
#4068AB #AB4068 #68AB40
tetradic
#4068AB #AB409D #AB8340 #40AB4D
square
#4068AB #AB409D #AB8340 #40AB4D
split-complementary
#4068AB #AB4D40 #9DAB40
monochromatic
#1F3252 #2F4D7E #4068AB #6388C5 #90AAD5

Accessibility & contrast

On white

5.55
#4068AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4068AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068AB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068AB#FFFFFF#000000##FFFFFF
##4068AB1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAE
Deuteranopia (green-blind)
#3C64AA
Tritanopia (blue-blind)
#007781
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4068ab;
/* rgb */ color: rgb(64, 104, 171);
/* oklch */ color: oklch(52.1% 0.116 260.2);
Tailwind
colors: {
  custom: {
    50: '#7f92c4',
    500: '#4068ab',
    950: '#000000',
  },
}
SCSS
$custom: #4068ab;
$custom-light: #7f92c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4068ab",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 171
  },
  "hsl": {
    "h": 217.57,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.11563,
    "h": 260.2
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#4068AB
secondary
#C1AB86
accent
#A453D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0D13
muted
#7C7D82

Preview Lab

Preview with #4068AB

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

Preview Lab → · Contrast checker → · Palette generator →

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