#4059AD#4059AD

#4059AD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.137 H 268.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4059AD
RGBrgb(64, 89, 173)
HSLhsl(226, 46%, 46%)
HSVhsv(226, 63%, 68%)
CMYKcmyk(63%, 48.6%, 0%, 32.2%)
CIE-LABlab(40.00, 17.73, -47.87)
CIE-LCHlch(40.00, 51.05, 290.32°)
OKLaboklab(48.92% -0.0036 -0.1369)
OKLCHoklch(48.92% 0.137 268.5)
XYZxyz(13.2270, 11.2507, 41.0016)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4059AD #AD9440
analogous
#4090AD #4059AD #5E40AD
triadic
#4059AD #AD4059 #59AD40
tetradic
#4059AD #AD4090 #AD9440 #40AD5E
square
#4059AD #AD4090 #AD9440 #40AD5E
split-complementary
#4059AD #AD5E40 #90AD40
monochromatic
#1F2B54 #2F4280 #4059AD #647BC6 #91A1D6

Accessibility & contrast

On white

6.46
#4059AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4059AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4059AD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4059AD#FFFFFF#000000##FFFFFF
##4059AD1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63B0
Deuteranopia (green-blind)
#195AAB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4059ad;
/* rgb */ color: rgb(64, 89, 173);
/* oklch */ color: oklch(48.9% 0.137 268.5);
Tailwind
colors: {
  custom: {
    50: '#7f87c6',
    500: '#4059ad',
    950: '#000000',
  },
}
SCSS
$custom: #4059ad;
$custom-light: #7f87c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4059ad",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 173
  },
  "hsl": {
    "h": 226.239,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.137,
    "h": 268.5
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#4059AD
secondary
#C2B487
accent
#B752D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4059AD

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

Preview Lab → · Contrast checker → · Palette generator →

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