#4064C3#4064C3

#4064C3 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.154 H 265.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4064C3
RGBrgb(64, 100, 195)
HSLhsl(224, 52%, 51%)
HSVhsv(224, 67%, 76%)
CMYKcmyk(67.2%, 48.7%, 0%, 23.5%)
CIE-LABlab(44.44, 18.52, -53.60)
CIE-LCHlch(44.44, 56.71, 289.06°)
OKLaboklab(52.76% -0.0114 -0.1536)
OKLCHoklch(52.76% 0.154 265.7)
XYZxyz(16.5184, 14.1429, 53.4785)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4064C3 #C39F40
analogous
#40A6C3 #4064C3 #5D40C3
triadic
#4064C3 #C34064 #64C340
tetradic
#4064C3 #C340A6 #C39F40 #40C35D
square
#4064C3 #C340A6 #C39F40 #40C35D
split-complementary
#4064C3 #C35D40 #A6C340
monochromatic
#213468 #2F4C97 #4064C3 #6F8AD2 #9DB0E0

Accessibility & contrast

On white

5.48
#4064C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4064C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4064C3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4064C3#FFFFFF#000000##FFFFFF
##4064C31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316FC6
Deuteranopia (green-blind)
#0D63C1
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4064c3;
/* rgb */ color: rgb(64, 100, 195);
/* oklch */ color: oklch(52.8% 0.154 265.7);
Tailwind
colors: {
  custom: {
    50: '#838fd6',
    500: '#4064c3',
    950: '#000000',
  },
}
SCSS
$custom: #4064c3;
$custom-light: #838fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4064c3",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 195
  },
  "hsl": {
    "h": 223.511,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.15405,
    "h": 265.7
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#4064C3
secondary
#CCBC92
accent
#B44CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4064C3

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

Preview Lab → · Contrast checker → · Palette generator →

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