#4257AF#4257AF

#4257AF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.142 H 270.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4257AF
RGBrgb(66, 87, 175)
HSLhsl(228, 45%, 47%)
HSVhsv(228, 62%, 69%)
CMYKcmyk(62.3%, 50.3%, 0%, 31.4%)
CIE-LABlab(39.70, 20.10, -49.54)
CIE-LCHlch(39.70, 53.46, 292.08°)
OKLaboklab(48.76% 0.0007 -0.1418)
OKLCHoklch(48.76% 0.142 270.3)
XYZxyz(13.3902, 11.0687, 41.9800)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4257AF #AF9A42
analogous
#428EAF #4257AF #6342AF
triadic
#4257AF #AF4257 #57AF42
tetradic
#4257AF #AF428E #AF9A42 #42AF63
square
#4257AF #AF428E #AF9A42 #42AF63
split-complementary
#4257AF #AF6342 #8EAF42
monochromatic
#202B56 #314183 #4257AF #687AC6 #95A1D7

Accessibility & contrast

On white

6.53
#4257AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4257AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4257AF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4257AF#FFFFFF#000000##FFFFFF
##4257AF1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#0E59AD
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4257af;
/* rgb */ color: rgb(66, 87, 175);
/* oklch */ color: oklch(48.8% 0.142 270.3);
Tailwind
colors: {
  custom: {
    50: '#8186c7',
    500: '#4257af',
    950: '#000000',
  },
}
SCSS
$custom: #4257af;
$custom-light: #8186c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4257af",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 228.44,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.14183,
    "h": 270.3
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#4257AF
secondary
#C2B88A
accent
#BC53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4257AF

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

Preview Lab → · Contrast checker → · Palette generator →

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