#4059A2#4059A2

#4059A2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.121 H 267.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4059A2
RGBrgb(64, 89, 162)
HSLhsl(225, 43%, 44%)
HSVhsv(225, 60%, 64%)
CMYKcmyk(60.5%, 45.1%, 0%, 36.5%)
CIE-LABlab(39.31, 13.84, -42.45)
CIE-LCHlch(39.31, 44.65, 288.06°)
OKLaboklab(48.18% -0.0052 -0.121)
OKLCHoklch(48.18% 0.121 267.5)
XYZxyz(12.2061, 10.8424, 35.6250)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4059A2 #A28940
analogous
#408AA2 #4059A2 #5840A2
triadic
#4059A2 #A24059 #59A240
tetradic
#4059A2 #A2408A #A28940 #40A258
square
#4059A2 #A2408A #A28940 #40A258
split-complementary
#4059A2 #A25840 #8AA240
monochromatic
#1D294A #2F4176 #4059A2 #5F78C0 #8B9DD1

Accessibility & contrast

On white

6.63
#4059A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4059A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4059A2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4059A2#FFFFFF#000000##FFFFFF
##4059A21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A5
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4059a2;
/* rgb */ color: rgb(64, 89, 162);
/* oklch */ color: oklch(48.2% 0.121 267.5);
Tailwind
colors: {
  custom: {
    50: '#7e87be',
    500: '#4059a2',
    950: '#000000',
  },
}
SCSS
$custom: #4059a2;
$custom-light: #7e87be;
$custom-dark: #000000;
JSON
{
  "hex": "#4059a2",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 224.694,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48175,
    "c": 0.12111,
    "h": 267.5
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#4059A2
secondary
#BCAD82
accent
#B355D3
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #4059A2

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

Preview Lab → · Contrast checker → · Palette generator →

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