#4254BC#4254BC

#4254BC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.164 H 271.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4254BC
RGBrgb(66, 84, 188)
HSLhsl(231, 48%, 50%)
HSVhsv(231, 65%, 74%)
CMYKcmyk(64.9%, 55.3%, 0%, 26.3%)
CIE-LABlab(39.80, 26.61, -57.01)
CIE-LCHlch(39.80, 62.92, 295.02°)
OKLaboklab(49.12% 0.0046 -0.1639)
OKLCHoklch(49.12% 0.164 271.6)
XYZxyz(14.4911, 11.1285, 48.9515)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254BC #BCAA42
analogous
#4291BC #4254BC #6D42BC
triadic
#4254BC #BC4254 #54BC42
tetradic
#4254BC #BC4291 #BCAA42 #42BC6D
square
#4254BC #BC4291 #BCAA42 #42BC6D
split-complementary
#4254BC #BC6D42 #91BC42
monochromatic
#222C61 #32408F #4254BC #6F7DCC #9CA6DC

Accessibility & contrast

On white

6.51
#4254BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4254BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254BC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254BC#FFFFFF#000000##FFFFFF
##4254BC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4254bc;
/* rgb */ color: rgb(66, 84, 188);
/* oklch */ color: oklch(49.1% 0.164 271.6);
Tailwind
colors: {
  custom: {
    50: '#8383d1',
    500: '#4254bc',
    950: '#000000',
  },
}
SCSS
$custom: #4254bc;
$custom-light: #8383d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4254bc",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 231.148,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49122,
    "c": 0.16393,
    "h": 271.6
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

primary
#4254BC
secondary
#C9C091
accent
#C450D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4254BC

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

Preview Lab → · Contrast checker → · Palette generator →

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