#4059AE#4059AE

#4059AE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.138 H 268.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4059AE
RGBrgb(64, 89, 174)
HSLhsl(226, 46%, 47%)
HSVhsv(226, 63%, 68%)
CMYKcmyk(63.2%, 48.9%, 0%, 31.8%)
CIE-LABlab(40.06, 18.08, -48.36)
CIE-LCHlch(40.06, 51.63, 290.50°)
OKLaboklab(48.99% -0.0034 -0.1384)
OKLCHoklch(48.99% 0.138 268.6)
XYZxyz(13.3241, 11.2896, 41.5131)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4059AE #AE9540
analogous
#4090AE #4059AE #5E40AE
triadic
#4059AE #AE4059 #59AE40
tetradic
#4059AE #AE4090 #AE9540 #40AE5E
square
#4059AE #AE4090 #AE9540 #40AE5E
split-complementary
#4059AE #AE5E40 #90AE40
monochromatic
#1F2B55 #304281 #4059AE #657BC6 #92A1D7

Accessibility & contrast

On white

6.45
#4059AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4059AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4059AE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4059AE#FFFFFF#000000##FFFFFF
##4059AE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4059ae;
/* rgb */ color: rgb(64, 89, 174);
/* oklch */ color: oklch(49.0% 0.138 268.6);
Tailwind
colors: {
  custom: {
    50: '#8087c7',
    500: '#4059ae',
    950: '#000000',
  },
}
SCSS
$custom: #4059ae;
$custom-light: #8087c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4059ae",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 226.364,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48989,
    "c": 0.13843,
    "h": 268.6
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#4059AE
secondary
#C2B588
accent
#B852D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4059AE

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

Preview Lab → · Contrast checker → · Palette generator →

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