#4057AE#4057AE

#4057AE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.141 H 269.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4057AE
RGBrgb(64, 87, 174)
HSLhsl(227, 46%, 47%)
HSVhsv(227, 63%, 68%)
CMYKcmyk(63.2%, 50%, 0%, 31.8%)
CIE-LABlab(39.52, 19.38, -49.24)
CIE-LCHlch(39.52, 52.92, 291.48°)
OKLaboklab(48.57% -0.0014 -0.141)
OKLCHoklch(48.57% 0.141 269.4)
XYZxyz(13.1599, 10.9612, 41.4584)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4057AE #AE9740
analogous
#408EAE #4057AE #6040AE
triadic
#4057AE #AE4057 #57AE40
tetradic
#4057AE #AE408E #AE9740 #40AE60
square
#4057AE #AE408E #AE9740 #40AE60
split-complementary
#4057AE #AE6040 #8EAE40
monochromatic
#1F2A55 #304181 #4057AE #6579C6 #92A0D7

Accessibility & contrast

On white

6.58
#4057AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4057AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4057AE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4057AE#FFFFFF#000000##FFFFFF
##4057AE1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#0E58AC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4057ae;
/* rgb */ color: rgb(64, 87, 174);
/* oklch */ color: oklch(48.6% 0.141 269.4);
Tailwind
colors: {
  custom: {
    50: '#8086c7',
    500: '#4057ae',
    950: '#000000',
  },
}
SCSS
$custom: #4057ae;
$custom-light: #8086c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4057ae",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 227.455,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.14102,
    "h": 269.4
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#4057AE
secondary
#C2B688
accent
#BA52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4057AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4057AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva