#4254CF#4254CF

#4254CF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.190 H 271.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4254CF
RGBrgb(66, 84, 207)
HSLhsl(232, 59%, 54%)
HSVhsv(232, 68%, 81%)
CMYKcmyk(68.1%, 59.4%, 0%, 18.8%)
CIE-LABlab(41.22, 33.27, -65.73)
CIE-LCHlch(41.22, 73.67, 296.85°)
OKLaboklab(50.63% 0.005 -0.1895)
OKLCHoklch(50.63% 0.19 271.5)
XYZxyz(16.6758, 12.0023, 60.4572)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254CF #CFBD42
analogous
#429BCF #4254CF #7642CF
triadic
#4254CF #CF4254 #54CF42
tetradic
#4254CF #CF429B #CFBD42 #42CF76
square
#4254CF #CF429B #CFBD42 #42CF76
split-complementary
#4254CF #CF7642 #9BCF42
monochromatic
#1F2A78 #2B3BA9 #4254CF #7380DB #A4ACE8

Accessibility & contrast

On white

6.18
#4254CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4254CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254CF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254CF#FFFFFF#000000##FFFFFF
##4254CF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4254cf;
/* rgb */ color: rgb(66, 84, 207);
/* oklch */ color: oklch(50.6% 0.190 271.5);
Tailwind
colors: {
  custom: {
    50: '#8784df',
    500: '#4254cf',
    950: '#000000',
  },
}
SCSS
$custom: #4254cf;
$custom-light: #8784df;
$custom-dark: #000000;
JSON
{
  "hex": "#4254cf",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 232.34,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.18955,
    "h": 271.5
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#4254CF
secondary
#D5CD98
accent
#CF45E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4254CF

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

Preview Lab → · Contrast checker → · Palette generator →

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