#4059AF#4059AF

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

Color values

HEX#4059AF
RGBrgb(64, 89, 175)
HSLhsl(226, 46%, 47%)
HSVhsv(226, 63%, 69%)
CMYKcmyk(63.4%, 49.1%, 0%, 31.4%)
CIE-LABlab(40.13, 18.44, -48.85)
CIE-LCHlch(40.13, 52.21, 290.68°)
OKLaboklab(49.06% -0.0033 -0.1398)
OKLCHoklch(49.06% 0.14 268.6)
XYZxyz(13.4220, 11.3287, 42.0285)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4059AF #AF9640
analogous
#4091AF #4059AF #5E40AF
triadic
#4059AF #AF4059 #59AF40
tetradic
#4059AF #AF4091 #AF9640 #40AF5E
square
#4059AF #AF4091 #AF9640 #40AF5E
split-complementary
#4059AF #AF5E40 #91AF40
monochromatic
#1F2B55 #304282 #4059AF #657BC7 #92A2D7

Accessibility & contrast

On white

6.43
#4059AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4059AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4059AF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4059AF#FFFFFF#000000##FFFFFF
##4059AF1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#145AAD
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4059af;
/* rgb */ color: rgb(64, 89, 175);
/* oklch */ color: oklch(49.1% 0.140 268.6);
Tailwind
colors: {
  custom: {
    50: '#8087c7',
    500: '#4059af',
    950: '#000000',
  },
}
SCSS
$custom: #4059af;
$custom-light: #8087c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4059af",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 226.486,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.13986,
    "h": 268.6
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4059AF

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

Preview Lab → · Contrast checker → · Palette generator →

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