#4251AA#4251AA

#4251AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.143 H 272.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4251AA
RGBrgb(66, 81, 170)
HSLhsl(231, 44%, 46%)
HSVhsv(231, 61%, 67%)
CMYKcmyk(61.2%, 52.4%, 0%, 33.3%)
CIE-LABlab(37.74, 22.23, -49.72)
CIE-LCHlch(37.74, 54.47, 294.09°)
OKLaboklab(47.18% 0.0064 -0.1424)
OKLCHoklch(47.18% 0.143 272.6)
XYZxyz(12.4425, 9.9444, 39.2862)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251AA #AA9B42
analogous
#4285AA #4251AA #6742AA
triadic
#4251AA #AA4251 #51AA42
tetradic
#4251AA #AA4285 #AA9B42 #42AA67
square
#4251AA #AA4285 #AA9B42 #42AA67
split-complementary
#4251AA #AA6742 #85AA42
monochromatic
#202752 #313C7E #4251AA #6673C3 #929BD5

Accessibility & contrast

On white

7.03
#4251AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4251AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4251AA#FFFFFF#000000##FFFFFF
##4251AA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4251aa;
/* rgb */ color: rgb(66, 81, 170);
/* oklch */ color: oklch(47.2% 0.143 272.6);
Tailwind
colors: {
  custom: {
    50: '#8081c4',
    500: '#4251aa',
    950: '#000000',
  },
}
SCSS
$custom: #4251aa;
$custom-light: #8081c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4251aa",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 231.346,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.14259,
    "h": 272.6
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#4251AA
secondary
#C0B888
accent
#C154D4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4251AA

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

Preview Lab → · Contrast checker → · Palette generator →

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