#4059A4#4059A4

#4059A4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.124 H 267.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4059A4
RGBrgb(64, 89, 164)
HSLhsl(225, 44%, 45%)
HSVhsv(225, 61%, 64%)
CMYKcmyk(61%, 45.7%, 0%, 35.7%)
CIE-LABlab(39.44, 14.54, -43.44)
CIE-LCHlch(39.44, 45.81, 288.51°)
OKLaboklab(48.31% -0.0049 -0.1239)
OKLCHoklch(48.31% 0.124 267.7)
XYZxyz(12.3853, 10.9140, 36.5687)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4059A4 #A48B40
analogous
#408BA4 #4059A4 #5940A4
triadic
#4059A4 #A44059 #59A440
tetradic
#4059A4 #A4408B #A48B40 #40A459
square
#4059A4 #A4408B #A48B40 #40A459
split-complementary
#4059A4 #A45940 #8BA440
monochromatic
#1E294C #2F4178 #4059A4 #6078C1 #8C9ED2

Accessibility & contrast

On white

6.60
#4059A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4059A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4059A4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4059A4#FFFFFF#000000##FFFFFF
##4059A41.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A7
Deuteranopia (green-blind)
#2759A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4059a4;
/* rgb */ color: rgb(64, 89, 164);
/* oklch */ color: oklch(48.3% 0.124 267.7);
Tailwind
colors: {
  custom: {
    50: '#7e87bf',
    500: '#4059a4',
    950: '#000000',
  },
}
SCSS
$custom: #4059a4;
$custom-light: #7e87bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4059a4",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 164
  },
  "hsl": {
    "h": 225,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48307,
    "c": 0.12403,
    "h": 267.7
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#4059A4
secondary
#BDAE83
accent
#B454D4
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4059A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4059A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva