#4057AD#4057AD

#4057AD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.140 H 269.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4057AD
RGBrgb(64, 87, 173)
HSLhsl(227, 46%, 46%)
HSVhsv(227, 63%, 68%)
CMYKcmyk(63%, 49.7%, 0%, 32.2%)
CIE-LABlab(39.45, 19.02, -48.76)
CIE-LCHlch(39.45, 52.34, 291.31°)
OKLaboklab(48.5% -0.0015 -0.1396)
OKLCHoklch(48.5% 0.14 269.4)
XYZxyz(13.0628, 10.9224, 40.9469)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4057AD #AD9640
analogous
#408EAD #4057AD #5F40AD
triadic
#4057AD #AD4057 #57AD40
tetradic
#4057AD #AD408E #AD9640 #40AD5F
square
#4057AD #AD408E #AD9640 #40AD5F
split-complementary
#4057AD #AD5F40 #8EAD40
monochromatic
#1F2A54 #2F4180 #4057AD #6479C6 #91A0D6

Accessibility & contrast

On white

6.59
#4057AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4057AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4057AD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4057AD#FFFFFF#000000##FFFFFF
##4057AD1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B0
Deuteranopia (green-blind)
#1158AB
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4057ad;
/* rgb */ color: rgb(64, 87, 173);
/* oklch */ color: oklch(48.5% 0.140 269.4);
Tailwind
colors: {
  custom: {
    50: '#8086c6',
    500: '#4057ad',
    950: '#000000',
  },
}
SCSS
$custom: #4057ad;
$custom-light: #8086c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4057ad",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 227.339,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.13959,
    "h": 269.4
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4057AD

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

Preview Lab → · Contrast checker → · Palette generator →

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