#4257AC#4257AC

#4257AC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.138 H 270.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4257AC
RGBrgb(66, 87, 172)
HSLhsl(228, 45%, 47%)
HSVhsv(228, 62%, 67%)
CMYKcmyk(61.6%, 49.4%, 0%, 32.5%)
CIE-LABlab(39.50, 19.04, -48.08)
CIE-LCHlch(39.50, 51.71, 291.61°)
OKLaboklab(48.55% 0.0004 -0.1375)
OKLCHoklch(48.55% 0.138 270.2)
XYZxyz(13.0989, 10.9521, 40.4454)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4257AC #AC9742
analogous
#428CAC #4257AC #6242AC
triadic
#4257AC #AC4257 #57AC42
tetradic
#4257AC #AC428C #AC9742 #42AC62
square
#4257AC #AC428C #AC9742 #42AC62
split-complementary
#4257AC #AC6242 #8CAC42
monochromatic
#202A54 #314180 #4257AC #6779C5 #93A0D6

Accessibility & contrast

On white

6.58
#4257AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4257AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4257AC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4257AC#FFFFFF#000000##FFFFFF
##4257AC1.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)
#2B62AF
Deuteranopia (green-blind)
#1659AA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4257ac;
/* rgb */ color: rgb(66, 87, 172);
/* oklch */ color: oklch(48.5% 0.138 270.2);
Tailwind
colors: {
  custom: {
    50: '#8086c5',
    500: '#4257ac',
    950: '#000000',
  },
}
SCSS
$custom: #4257ac;
$custom-light: #8086c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4257ac",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 228.113,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.13754,
    "h": 270.2
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#4257AC
secondary
#C1B689
accent
#BB54D4
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4257AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4257AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva