#4064B3#4064B3

#4064B3 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.132 H 263.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4064B3
RGBrgb(64, 100, 179)
HSLhsl(221, 47%, 48%)
HSVhsv(221, 64%, 70%)
CMYKcmyk(64.2%, 44.1%, 0%, 29.8%)
CIE-LABlab(43.44, 12.80, -45.88)
CIE-LCHlch(43.44, 47.63, 285.59°)
OKLaboklab(51.68% -0.0139 -0.1309)
OKLCHoklch(51.68% 0.132 263.9)
XYZxyz(14.8054, 13.4576, 44.4564)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4064B3 #B38F40
analogous
#409EB3 #4064B3 #5540B3
triadic
#4064B3 #B34064 #64B340
tetradic
#4064B3 #B3409E #B38F40 #40B355
square
#4064B3 #B3409E #B38F40 #40B355
split-complementary
#4064B3 #B35540 #9EB340
monochromatic
#203259 #304B86 #4064B3 #6786C9 #94AAD9

Accessibility & contrast

On white

5.69
#4064B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4064B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4064B3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4064B3#FFFFFF#000000##FFFFFF
##4064B31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#2D62B1
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4064b3;
/* rgb */ color: rgb(64, 100, 179);
/* oklch */ color: oklch(51.7% 0.132 263.9);
Tailwind
colors: {
  custom: {
    50: '#808fca',
    500: '#4064b3',
    950: '#000000',
  },
}
SCSS
$custom: #4064b3;
$custom-light: #808fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4064b3",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 221.217,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.13168,
    "h": 263.9
  },
  "luminance": 0.13459
}

Semantic roles & 50–950 ramp

primary
#4064B3
secondary
#C4B28A
accent
#AD51D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4064B3

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

Preview Lab → · Contrast checker → · Palette generator →

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