#4064B0#4064B0

#4064B0 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.5% C 0.127 H 263.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4064B0
RGBrgb(64, 100, 176)
HSLhsl(221, 47%, 47%)
HSVhsv(221, 64%, 69%)
CMYKcmyk(63.6%, 43.2%, 0%, 31%)
CIE-LABlab(43.27, 11.73, -44.41)
CIE-LCHlch(43.27, 45.93, 284.80°)
OKLaboklab(51.48% -0.0145 -0.1266)
OKLCHoklch(51.48% 0.127 263.5)
XYZxyz(14.5053, 13.3376, 42.8759)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4064B0 #B08C40
analogous
#409CB0 #4064B0 #5440B0
triadic
#4064B0 #B04064 #64B040
tetradic
#4064B0 #B0409C #B08C40 #40B054
square
#4064B0 #B0409C #B08C40 #40B054
split-complementary
#4064B0 #B05440 #9CB040
monochromatic
#1F3156 #304B83 #4064B0 #6685C7 #93A9D8

Accessibility & contrast

On white

5.73
#4064B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4064B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4064B0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4064B0#FFFFFF#000000##FFFFFF
##4064B01.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416CB3
Deuteranopia (green-blind)
#3061AE
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4064b0;
/* rgb */ color: rgb(64, 100, 176);
/* oklch */ color: oklch(51.5% 0.127 263.5);
Tailwind
colors: {
  custom: {
    50: '#808fc8',
    500: '#4064b0',
    950: '#000000',
  },
}
SCSS
$custom: #4064b0;
$custom-light: #808fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4064b0",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 176
  },
  "hsl": {
    "h": 220.714,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.12744,
    "h": 263.5
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#4064B0
secondary
#C3B089
accent
#AC51D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4064B0

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

Preview Lab → · Contrast checker → · Palette generator →

#4064B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva