#4254CD#4254CD

#4254CD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.187 H 271.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4254CD
RGBrgb(66, 84, 205)
HSLhsl(232, 58%, 53%)
HSVhsv(232, 68%, 80%)
CMYKcmyk(67.8%, 59%, 0%, 19.6%)
CIE-LABlab(41.06, 32.58, -64.83)
CIE-LCHlch(41.06, 72.55, 296.68°)
OKLaboklab(50.47% 0.005 -0.1868)
OKLCHoklch(50.47% 0.187 271.5)
XYZxyz(16.4328, 11.9051, 59.1777)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254CD #CDBB42
analogous
#4299CD #4254CD #7542CD
triadic
#4254CD #CD4254 #54CD42
tetradic
#4254CD #CD4299 #CDBB42 #42CD75
square
#4254CD #CD4299 #CDBB42 #42CD75
split-complementary
#4254CD #CD7542 #99CD42
monochromatic
#1F2A76 #2C3CA6 #4254CD #7280DA #A3ACE7

Accessibility & contrast

On white

6.21
#4254CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4254CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254CD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254CD#FFFFFF#000000##FFFFFF
##4254CD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4254cd;
/* rgb */ color: rgb(66, 84, 205);
/* oklch */ color: oklch(50.5% 0.187 271.5);
Tailwind
colors: {
  custom: {
    50: '#8784dd',
    500: '#4254cd',
    950: '#000000',
  },
}
SCSS
$custom: #4254cd;
$custom-light: #8784dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4254cd",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 232.23,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.18691,
    "h": 271.5
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#4254CD
secondary
#D3CC97
accent
#CD46E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4254CD

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

Preview Lab → · Contrast checker → · Palette generator →

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