#4254BA#4254BA

#4254BA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.161 H 271.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4254BA
RGBrgb(66, 84, 186)
HSLhsl(231, 48%, 49%)
HSVhsv(231, 65%, 73%)
CMYKcmyk(64.5%, 54.8%, 0%, 27.1%)
CIE-LABlab(39.65, 25.91, -56.08)
CIE-LCHlch(39.65, 61.77, 294.80°)
OKLaboklab(48.97% 0.0045 -0.1611)
OKLCHoklch(48.97% 0.161 271.6)
XYZxyz(14.2770, 11.0428, 47.8239)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254BA #BAA842
analogous
#4290BA #4254BA #6C42BA
triadic
#4254BA #BA4254 #54BA42
tetradic
#4254BA #BA4290 #BAA842 #42BA6C
square
#4254BA #BA4290 #BAA842 #42BA6C
split-complementary
#4254BA #BA6C42 #90BA42
monochromatic
#222B60 #32408D #4254BA #6E7CCB #9BA5DB

Accessibility & contrast

On white

6.54
#4254BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4254BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254BA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254BA#FFFFFF#000000##FFFFFF
##4254BA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0363BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4254ba;
/* rgb */ color: rgb(66, 84, 186);
/* oklch */ color: oklch(49.0% 0.161 271.6);
Tailwind
colors: {
  custom: {
    50: '#8383cf',
    500: '#4254ba',
    950: '#000000',
  },
}
SCSS
$custom: #4254ba;
$custom-light: #8383cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4254ba",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 231,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48969,
    "c": 0.16116,
    "h": 271.6
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#4254BA
secondary
#C8BF90
accent
#C351D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4254BA

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

Preview Lab → · Contrast checker → · Palette generator →

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