#4251CD#4251CD

#4251CD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.191 H 272.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4251CD
RGBrgb(66, 81, 205)
HSLhsl(234, 58%, 53%)
HSVhsv(234, 68%, 80%)
CMYKcmyk(67.8%, 60.5%, 0%, 19.6%)
CIE-LABlab(40.33, 34.46, -66.03)
CIE-LCHlch(40.33, 74.48, 297.56°)
OKLaboklab(49.92% 0.0073 -0.1904)
OKLCHoklch(49.92% 0.191 272.2)
XYZxyz(16.2049, 11.4494, 59.1017)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251CD #CDBE42
analogous
#4296CD #4251CD #7842CD
triadic
#4251CD #CD4251 #51CD42
tetradic
#4251CD #CD4296 #CDBE42 #42CD78
square
#4251CD #CD4296 #CDBE42 #42CD78
split-complementary
#4251CD #CD7842 #96CD42
monochromatic
#1F2876 #2C39A6 #4251CD #727EDA #A3AAE7

Accessibility & contrast

On white

6.38
#4251CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4251CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4251CD#FFFFFF#000000##FFFFFF
##4251CD1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4251cd;
/* rgb */ color: rgb(66, 81, 205);
/* oklch */ color: oklch(49.9% 0.191 272.2);
Tailwind
colors: {
  custom: {
    50: '#8781dd',
    500: '#4251cd',
    950: '#000000',
  },
}
SCSS
$custom: #4251cd;
$custom-light: #8781dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4251cd",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 233.525,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.19054,
    "h": 272.2
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#4251CD
secondary
#D3CD97
accent
#D146E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4251CD

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

Preview Lab → · Contrast checker → · Palette generator →

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