#4257BB#4257BB

#4257BB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.159 H 270.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4257BB
RGBrgb(66, 87, 187)
HSLhsl(230, 48%, 50%)
HSVhsv(230, 65%, 73%)
CMYKcmyk(64.7%, 53.5%, 0%, 26.7%)
CIE-LABlab(40.51, 24.33, -55.27)
CIE-LCHlch(40.51, 60.39, 293.76°)
OKLaboklab(49.64% 0.0018 -0.1587)
OKLCHoklch(49.64% 0.159 270.6)
XYZxyz(14.6216, 11.5612, 48.4651)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4257BB #BBA642
analogous
#4293BB #4257BB #6A42BB
triadic
#4257BB #BB4257 #57BB42
tetradic
#4257BB #BB4293 #BBA642 #42BB6A
square
#4257BB #BB4293 #BBA642 #42BB6A
split-complementary
#4257BB #BB6A42 #93BB42
monochromatic
#222D61 #32428E #4257BB #6E7FCC #9CA7DC

Accessibility & contrast

On white

6.34
#4257BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4257BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4257BB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4257BB#FFFFFF#000000##FFFFFF
##4257BB1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4257bb;
/* rgb */ color: rgb(66, 87, 187);
/* oklch */ color: oklch(49.6% 0.159 270.6);
Tailwind
colors: {
  custom: {
    50: '#8386d0',
    500: '#4257bb',
    950: '#000000',
  },
}
SCSS
$custom: #4257bb;
$custom-light: #8386d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4257bb",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 229.587,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49636,
    "c": 0.15872,
    "h": 270.6
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#4257BB
secondary
#C8BE91
accent
#C050D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4257BB

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

Preview Lab → · Contrast checker → · Palette generator →

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