#4257BC#4257BC

#4257BC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.160 H 270.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4257BC
RGBrgb(66, 87, 188)
HSLhsl(230, 48%, 50%)
HSVhsv(230, 65%, 74%)
CMYKcmyk(64.9%, 53.7%, 0%, 26.3%)
CIE-LABlab(40.58, 24.68, -55.74)
CIE-LCHlch(40.58, 60.97, 293.88°)
OKLaboklab(49.71% 0.0019 -0.1601)
OKLCHoklch(49.71% 0.16 270.7)
XYZxyz(14.7290, 11.6042, 49.0308)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4257BC #BCA742
analogous
#4294BC #4257BC #6A42BC
triadic
#4257BC #BC4257 #57BC42
tetradic
#4257BC #BC4294 #BCA742 #42BC6A
square
#4257BC #BC4294 #BCA742 #42BC6A
split-complementary
#4257BC #BC6A42 #94BC42
monochromatic
#222D61 #32428F #4257BC #6F7FCC #9CA7DC

Accessibility & contrast

On white

6.32
#4257BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4257BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4257BC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4257BC#FFFFFF#000000##FFFFFF
##4257BC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4257bc;
/* rgb */ color: rgb(66, 87, 188);
/* oklch */ color: oklch(49.7% 0.160 270.7);
Tailwind
colors: {
  custom: {
    50: '#8386d1',
    500: '#4257bc',
    950: '#000000',
  },
}
SCSS
$custom: #4257bc;
$custom-light: #8386d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4257bc",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 229.672,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49711,
    "c": 0.1601,
    "h": 270.7
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#4257BC
secondary
#C9BF91
accent
#C050D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4257BC

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

Preview Lab → · Contrast checker → · Palette generator →

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