#4251BF#4251BF

#4251BF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.172 H 272.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4251BF
RGBrgb(66, 81, 191)
HSLhsl(233, 49%, 50%)
HSVhsv(233, 65%, 75%)
CMYKcmyk(65.4%, 57.6%, 0%, 25.1%)
CIE-LABlab(39.25, 29.58, -59.66)
CIE-LCHlch(39.25, 66.59, 296.38°)
OKLaboklab(48.78% 0.0074 -0.1717)
OKLCHoklch(48.78% 0.172 272.5)
XYZxyz(14.5900, 10.8034, 50.5965)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251BF #BFB042
analogous
#428FBF #4251BF #7142BF
triadic
#4251BF #BF4251 #51BF42
tetradic
#4251BF #BF428F #BFB042 #42BF71
square
#4251BF #BF428F #BFB042 #42BF71
split-complementary
#4251BF #BF7142 #8FBF42
monochromatic
#222A65 #323D92 #4251BF #707BCE #9DA5DE

Accessibility & contrast

On white

6.64
#4251BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4251BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4251BF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4251BF#FFFFFF#000000##FFFFFF
##4251BF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4251bf;
/* rgb */ color: rgb(66, 81, 191);
/* oklch */ color: oklch(48.8% 0.172 272.5);
Tailwind
colors: {
  custom: {
    50: '#8481d3',
    500: '#4251bf',
    950: '#000000',
  },
}
SCSS
$custom: #4251bf;
$custom-light: #8481d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4251bf",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 232.8,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48782,
    "c": 0.17183,
    "h": 272.5
  },
  "luminance": 0.10805
}

Semantic roles & 50–950 ramp

primary
#4251BF
secondary
#CAC493
accent
#C84FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4251BF

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

Preview Lab → · Contrast checker → · Palette generator →

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