#4064A3#4064A3

#4064A3 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 50.7% C 0.109 H 260.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4064A3
RGBrgb(64, 100, 163)
HSLhsl(218, 44%, 45%)
HSVhsv(218, 61%, 64%)
CMYKcmyk(60.7%, 38.7%, 0%, 36.1%)
CIE-LABlab(42.53, 7.16, -37.92)
CIE-LCHlch(42.53, 38.59, 280.69°)
OKLaboklab(50.68% -0.0173 -0.1076)
OKLCHoklch(50.68% 0.109 260.9)
XYZxyz(13.2801, 12.8475, 36.4232)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4064A3 #A37F40
analogous
#4096A3 #4064A3 #4E40A3
triadic
#4064A3 #A34064 #64A340
tetradic
#4064A3 #A34096 #A37F40 #40A34E
square
#4064A3 #A34096 #A37F40 #40A34E
split-complementary
#4064A3 #A34E40 #96A340
monochromatic
#1D2E4B #2F4977 #4064A3 #6083C0 #8CA5D2

Accessibility & contrast

On white

5.88
#4064A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4064A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4064A3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4064A3#FFFFFF#000000##FFFFFF
##4064A31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A6
Deuteranopia (green-blind)
#3C60A2
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4064a3;
/* rgb */ color: rgb(64, 100, 163);
/* oklch */ color: oklch(50.7% 0.109 260.9);
Tailwind
colors: {
  custom: {
    50: '#7d8fbe',
    500: '#4064a3',
    950: '#000000',
  },
}
SCSS
$custom: #4064a3;
$custom-light: #7d8fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4064a3",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 163
  },
  "hsl": {
    "h": 218.182,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50675,
    "c": 0.10896,
    "h": 260.9
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#4064A3
secondary
#BDA782
accent
#A554D3
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4064A3

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

Preview Lab → · Contrast checker → · Palette generator →

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