#4257BE#4257BE

#4257BE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.163 H 270.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4257BE
RGBrgb(66, 87, 190)
HSLhsl(230, 49%, 50%)
HSVhsv(230, 65%, 75%)
CMYKcmyk(65.3%, 54.2%, 0%, 25.5%)
CIE-LABlab(40.72, 25.39, -56.68)
CIE-LCHlch(40.72, 62.11, 294.13°)
OKLaboklab(49.86% 0.002 -0.1629)
OKLCHoklch(49.86% 0.163 270.7)
XYZxyz(14.9461, 11.6910, 50.1742)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4257BE #BEA942
analogous
#4295BE #4257BE #6B42BE
triadic
#4257BE #BE4257 #57BE42
tetradic
#4257BE #BE4295 #BEA942 #42BE6B
square
#4257BE #BE4295 #BEA942 #42BE6B
split-complementary
#4257BE #BE6B42 #95BE42
monochromatic
#222D63 #324291 #4257BE #707FCE #9DA8DD

Accessibility & contrast

On white

6.29
#4257BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4257BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4257BE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4257BE#FFFFFF#000000##FFFFFF
##4257BE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4257be;
/* rgb */ color: rgb(66, 87, 190);
/* oklch */ color: oklch(49.9% 0.163 270.7);
Tailwind
colors: {
  custom: {
    50: '#8486d2',
    500: '#4257be',
    950: '#000000',
  },
}
SCSS
$custom: #4257be;
$custom-light: #8486d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4257be",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 229.839,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49862,
    "c": 0.16287,
    "h": 270.7
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#4257BE
secondary
#CAC092
accent
#C14FD8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4257BE

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

Preview Lab → · Contrast checker → · Palette generator →

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