#4068A2#4068A2

#4068A2 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.5% C 0.103 H 257.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4068A2
RGBrgb(64, 104, 162)
HSLhsl(216, 43%, 44%)
HSVhsv(216, 60%, 64%)
CMYKcmyk(60.5%, 35.8%, 0%, 36.5%)
CIE-LABlab(43.65, 4.30, -35.56)
CIE-LCHlch(43.65, 35.82, 276.90°)
OKLaboklab(51.53% -0.022 -0.1007)
OKLCHoklch(51.53% 0.103 257.7)
XYZxyz(13.5840, 13.5981, 36.0842)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4068A2 #A27A40
analogous
#4099A2 #4068A2 #4940A2
triadic
#4068A2 #A24068 #68A240
tetradic
#4068A2 #A24099 #A27A40 #40A249
square
#4068A2 #A24099 #A27A40 #40A249
split-complementary
#4068A2 #A24940 #99A240
monochromatic
#1D304A #2F4C76 #4068A2 #5F87C0 #8BA8D1

Accessibility & contrast

On white

5.65
#4068A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4068A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4068A2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4068A2#FFFFFF#000000##FFFFFF
##4068A21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506CA4
Deuteranopia (green-blind)
#4363A1
Tritanopia (blue-blind)
#00757D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4068a2;
/* rgb */ color: rgb(64, 104, 162);
/* oklch */ color: oklch(51.5% 0.103 257.7);
Tailwind
colors: {
  custom: {
    50: '#7d92be',
    500: '#4068a2',
    950: '#000000',
  },
}
SCSS
$custom: #4068a2;
$custom-light: #7d92be;
$custom-dark: #000000;
JSON
{
  "hex": "#4068a2",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 162
  },
  "hsl": {
    "h": 215.51,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.10304,
    "h": 257.7
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#4068A2
secondary
#BCA482
accent
#A055D3
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0D12
muted
#7C7D81

Preview Lab

Preview with #4068A2

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

Preview Lab → · Contrast checker → · Palette generator →

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