#4251BC#4251BC

#4251BC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.168 H 272.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4251BC
RGBrgb(66, 81, 188)
HSLhsl(233, 48%, 50%)
HSVhsv(233, 65%, 74%)
CMYKcmyk(64.9%, 56.9%, 0%, 26.3%)
CIE-LABlab(39.02, 28.53, -58.27)
CIE-LCHlch(39.02, 64.88, 296.09°)
OKLaboklab(48.55% 0.0073 -0.1676)
OKLCHoklch(48.55% 0.168 272.5)
XYZxyz(14.2633, 10.6727, 48.8756)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251BC #BCAD42
analogous
#428EBC #4251BC #7042BC
triadic
#4251BC #BC4251 #51BC42
tetradic
#4251BC #BC428E #BCAD42 #42BC70
square
#4251BC #BC428E #BCAD42 #42BC70
split-complementary
#4251BC #BC7042 #8EBC42
monochromatic
#222A61 #323D8F #4251BC #6F7ACC #9CA4DC

Accessibility & contrast

On white

6.70
#4251BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4251BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4251BC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4251BC#FFFFFF#000000##FFFFFF
##4251BC1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4251bc;
/* rgb */ color: rgb(66, 81, 188);
/* oklch */ color: oklch(48.5% 0.168 272.5);
Tailwind
colors: {
  custom: {
    50: '#8481d1',
    500: '#4251bc',
    950: '#000000',
  },
}
SCSS
$custom: #4251bc;
$custom-light: #8481d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4251bc",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 232.623,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48545,
    "c": 0.16774,
    "h": 272.5
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#4251BC
secondary
#C9C291
accent
#C750D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4251BC

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

Preview Lab → · Contrast checker → · Palette generator →

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