#4254C3#4254C3

#4254C3 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.173 H 271.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4254C3
RGBrgb(66, 84, 195)
HSLhsl(232, 52%, 51%)
HSVhsv(232, 66%, 76%)
CMYKcmyk(66.2%, 56.9%, 0%, 23.5%)
CIE-LABlab(40.31, 29.07, -60.27)
CIE-LCHlch(40.31, 66.91, 295.75°)
OKLaboklab(49.67% 0.0049 -0.1734)
OKLCHoklch(49.67% 0.174 271.6)
XYZxyz(15.2641, 11.4376, 53.0225)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254C3 #C3B142
analogous
#4294C3 #4254C3 #7042C3
triadic
#4254C3 #C34254 #54C342
tetradic
#4254C3 #C34294 #C3B142 #42C370
square
#4254C3 #C34294 #C3B142 #42C370
split-complementary
#4254C3 #C37042 #94C342
monochromatic
#212B69 #303F98 #4254C3 #707ED2 #9FA8E0

Accessibility & contrast

On white

6.39
#4254C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4254C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254C3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254C3#FFFFFF#000000##FFFFFF
##4254C31.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4254c3;
/* rgb */ color: rgb(66, 84, 195);
/* oklch */ color: oklch(49.7% 0.173 271.6);
Tailwind
colors: {
  custom: {
    50: '#8584d6',
    500: '#4254c3',
    950: '#000000',
  },
}
SCSS
$custom: #4254c3;
$custom-light: #8584d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4254c3",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 231.628,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49667,
    "c": 0.1735,
    "h": 271.6
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

primary
#4254C3
secondary
#CDC594
accent
#C74DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4254C3

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

Preview Lab → · Contrast checker → · Palette generator →

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