#4059D0#4059D0

#4059D0 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.185 H 269.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4059D0
RGBrgb(64, 89, 208)
HSLhsl(230, 61%, 53%)
HSVhsv(230, 69%, 82%)
CMYKcmyk(69.2%, 57.2%, 0%, 18.4%)
CIE-LABlab(42.44, 30.19, -64.32)
CIE-LCHlch(42.44, 71.05, 295.14°)
OKLaboklab(51.54% -0.0009 -0.1853)
OKLCHoklch(51.54% 0.185 269.7)
XYZxyz(17.0680, 12.7871, 61.2309)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4059D0 #D0B740
analogous
#40A1D0 #4059D0 #6F40D0
triadic
#4059D0 #D04059 #59D040
tetradic
#4059D0 #D040A1 #D0B740 #40D06F
square
#4059D0 #D040A1 #D0B740 #40D06F
split-complementary
#4059D0 #D06F40 #A1D040
monochromatic
#1E2D78 #2A40A9 #4059D0 #7184DC #A2AEE8

Accessibility & contrast

On white

5.90
#4059D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4059D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4059D0
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4059D0#FFFFFF#000000##FFFFFF
##4059D01.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4059d0;
/* rgb */ color: rgb(64, 89, 208);
/* oklch */ color: oklch(51.5% 0.185 269.7);
Tailwind
colors: {
  custom: {
    50: '#8687df',
    500: '#4059d0',
    950: '#000000',
  },
}
SCSS
$custom: #4059d0;
$custom-light: #8687df;
$custom-dark: #000000;
JSON
{
  "hex": "#4059d0",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 208
  },
  "hsl": {
    "h": 229.583,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.18534,
    "h": 269.7
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#4059D0
secondary
#D5CA97
accent
#C844E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4059D0

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

Preview Lab → · Contrast checker → · Palette generator →

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