#4251AE#4251AE

#4251AE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.148 H 272.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4251AE
RGBrgb(66, 81, 174)
HSLhsl(232, 45%, 47%)
HSVhsv(232, 62%, 68%)
CMYKcmyk(62.1%, 53.4%, 0%, 31.8%)
CIE-LABlab(38.02, 23.63, -51.65)
CIE-LCHlch(38.02, 56.80, 294.58°)
OKLaboklab(47.47% 0.0067 -0.1481)
OKLCHoklch(47.47% 0.148 272.6)
XYZxyz(12.8266, 10.0980, 41.3094)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251AE #AE9F42
analogous
#4287AE #4251AE #6942AE
triadic
#4251AE #AE4251 #51AE42
tetradic
#4251AE #AE4287 #AE9F42 #42AE69
square
#4251AE #AE4287 #AE9F42 #42AE69
split-complementary
#4251AE #AE6942 #87AE42
monochromatic
#202855 #313C82 #4251AE #6875C6 #949DD6

Accessibility & contrast

On white

6.95
#4251AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4251AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4251AE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4251AE#FFFFFF#000000##FFFFFF
##4251AE1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4251ae;
/* rgb */ color: rgb(66, 81, 174);
/* oklch */ color: oklch(47.5% 0.148 272.6);
Tailwind
colors: {
  custom: {
    50: '#8181c7',
    500: '#4251ae',
    950: '#000000',
  },
}
SCSS
$custom: #4251ae;
$custom-light: #8181c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4251ae",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 231.667,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.14827,
    "h": 272.6
  },
  "luminance": 0.10099
}

Semantic roles & 50–950 ramp

primary
#4251AE
secondary
#C2BA8A
accent
#C353D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4251AE

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

Preview Lab → · Contrast checker → · Palette generator →

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