#4251BA#4251BA

#4251BA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.165 H 272.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4251BA
RGBrgb(66, 81, 186)
HSLhsl(233, 48%, 49%)
HSVhsv(233, 65%, 73%)
CMYKcmyk(64.5%, 56.5%, 0%, 27.1%)
CIE-LABlab(38.88, 27.83, -57.33)
CIE-LCHlch(38.88, 63.73, 295.89°)
OKLaboklab(48.39% 0.0073 -0.1648)
OKLCHoklch(48.39% 0.165 272.5)
XYZxyz(14.0492, 10.5871, 47.7480)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251BA #BAAB42
analogous
#428DBA #4251BA #6F42BA
triadic
#4251BA #BA4251 #51BA42
tetradic
#4251BA #BA428D #BAAB42 #42BA6F
square
#4251BA #BA428D #BAAB42 #42BA6F
split-complementary
#4251BA #BA6F42 #8DBA42
monochromatic
#222A60 #323D8D #4251BA #6E79CB #9BA3DB

Accessibility & contrast

On white

6.74
#4251BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4251BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4251BA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4251BA#FFFFFF#000000##FFFFFF
##4251BA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4251ba;
/* rgb */ color: rgb(66, 81, 186);
/* oklch */ color: oklch(48.4% 0.165 272.5);
Tailwind
colors: {
  custom: {
    50: '#8381cf',
    500: '#4251ba',
    950: '#000000',
  },
}
SCSS
$custom: #4251ba;
$custom-light: #8381cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4251ba",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 232.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48388,
    "c": 0.165,
    "h": 272.5
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#4251BA
secondary
#C8C190
accent
#C651D7
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4251BA

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

Preview Lab → · Contrast checker → · Palette generator →

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