#4059A3#4059A3

#4059A3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.123 H 267.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4059A3
RGBrgb(64, 89, 163)
HSLhsl(225, 44%, 45%)
HSVhsv(225, 61%, 64%)
CMYKcmyk(60.7%, 45.4%, 0%, 36.1%)
CIE-LABlab(39.37, 14.19, -42.94)
CIE-LCHlch(39.37, 45.23, 288.29°)
OKLaboklab(48.24% -0.0051 -0.1225)
OKLCHoklch(48.24% 0.123 267.6)
XYZxyz(12.2954, 10.8781, 36.0950)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4059A3 #A38A40
analogous
#408BA3 #4059A3 #5840A3
triadic
#4059A3 #A34059 #59A340
tetradic
#4059A3 #A3408B #A38A40 #40A358
square
#4059A3 #A3408B #A38A40 #40A358
split-complementary
#4059A3 #A35840 #8BA340
monochromatic
#1D294B #2F4177 #4059A3 #6078C0 #8C9DD2

Accessibility & contrast

On white

6.61
#4059A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4059A3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4059A3#FFFFFF#000000##FFFFFF
##4059A31.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A6
Deuteranopia (green-blind)
#2859A1
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4059a3;
/* rgb */ color: rgb(64, 89, 163);
/* oklch */ color: oklch(48.2% 0.123 267.6);
Tailwind
colors: {
  custom: {
    50: '#7e87bf',
    500: '#4059a3',
    950: '#000000',
  },
}
SCSS
$custom: #4059a3;
$custom-light: #7e87bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4059a3",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 163
  },
  "hsl": {
    "h": 224.848,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48241,
    "c": 0.12257,
    "h": 267.6
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#4059A3
secondary
#BDAE82
accent
#B354D3
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4059A3

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

Preview Lab → · Contrast checker → · Palette generator →

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