#4064B9#4064B9

#4064B9 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.140 H 264.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4064B9
RGBrgb(64, 100, 185)
HSLhsl(222, 49%, 49%)
HSVhsv(222, 65%, 73%)
CMYKcmyk(65.4%, 45.9%, 0%, 27.5%)
CIE-LABlab(43.81, 14.94, -48.80)
CIE-LCHlch(43.81, 51.04, 287.02°)
OKLaboklab(52.07% -0.0129 -0.1395)
OKLCHoklch(52.07% 0.14 264.7)
XYZxyz(15.4254, 13.7057, 47.7221)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4064B9 #B99540
analogous
#40A1B9 #4064B9 #5940B9
triadic
#4064B9 #B94064 #64B940
tetradic
#4064B9 #B940A1 #B99540 #40B959
square
#4064B9 #B940A1 #B99540 #40B959
split-complementary
#4064B9 #B95940 #A1B940
monochromatic
#21335E #304B8C #4064B9 #6B87CC #98ACDB

Accessibility & contrast

On white

5.61
#4064B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4064B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4064B9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4064B9#FFFFFF#000000##FFFFFF
##4064B91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBC
Deuteranopia (green-blind)
#2462B7
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4064b9;
/* rgb */ color: rgb(64, 100, 185);
/* oklch */ color: oklch(52.1% 0.140 264.7);
Tailwind
colors: {
  custom: {
    50: '#818fce',
    500: '#4064b9',
    950: '#000000',
  },
}
SCSS
$custom: #4064b9;
$custom-light: #818fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4064b9",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 185
  },
  "hsl": {
    "h": 222.149,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.14012,
    "h": 264.7
  },
  "luminance": 0.13707
}

Semantic roles & 50–950 ramp

primary
#4064B9
secondary
#C7B68E
accent
#B050D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4064B9

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

Preview Lab → · Contrast checker → · Palette generator →

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