#4254BF#4254BF

#4254BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.168 H 271.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4254BF
RGBrgb(66, 84, 191)
HSLhsl(231, 49%, 50%)
HSVhsv(231, 65%, 75%)
CMYKcmyk(65.4%, 56%, 0%, 25.1%)
CIE-LABlab(40.01, 27.67, -58.41)
CIE-LCHlch(40.01, 64.63, 295.34°)
OKLaboklab(49.35% 0.0047 -0.168)
OKLCHoklch(49.35% 0.168 271.6)
XYZxyz(14.8179, 11.2592, 50.6725)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254BF #BFAD42
analogous
#4292BF #4254BF #6E42BF
triadic
#4254BF #BF4254 #54BF42
tetradic
#4254BF #BF4292 #BFAD42 #42BF6E
square
#4254BF #BF4292 #BFAD42 #42BF6E
split-complementary
#4254BF #BF6E42 #92BF42
monochromatic
#222C65 #323F92 #4254BF #707DCE #9DA7DE

Accessibility & contrast

On white

6.46
#4254BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4254BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254BF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254BF#FFFFFF#000000##FFFFFF
##4254BF1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4254bf;
/* rgb */ color: rgb(66, 84, 191);
/* oklch */ color: oklch(49.4% 0.168 271.6);
Tailwind
colors: {
  custom: {
    50: '#8483d3',
    500: '#4254bf',
    950: '#000000',
  },
}
SCSS
$custom: #4254bf;
$custom-light: #8483d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4254bf",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 231.36,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.16805,
    "h": 271.6
  },
  "luminance": 0.1126
}

Semantic roles & 50–950 ramp

primary
#4254BF
secondary
#CAC293
accent
#C54FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4254BF

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

Preview Lab → · Contrast checker → · Palette generator →

#4254BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva