#4251D0#4251D0

#4251D0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.194 H 272.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4251D0
RGBrgb(66, 81, 208)
HSLhsl(234, 60%, 54%)
HSVhsv(234, 68%, 82%)
CMYKcmyk(68.3%, 61.1%, 0%, 18.4%)
CIE-LABlab(40.57, 35.50, -67.37)
CIE-LCHlch(40.57, 76.15, 297.79°)
OKLaboklab(50.17% 0.0073 -0.1943)
OKLCHoklch(50.17% 0.194 272.1)
XYZxyz(16.5705, 11.5956, 61.0272)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251D0 #D0C142
analogous
#4298D0 #4251D0 #7A42D0
triadic
#4251D0 #D04251 #51D042
tetradic
#4251D0 #D04298 #D0C142 #42D07A
square
#4251D0 #D04298 #D0C142 #42D07A
split-complementary
#4251D0 #D07A42 #98D042
monochromatic
#1E2879 #2A38AA #4251D0 #737EDC #A4ABE8

Accessibility & contrast

On white

6.33
#4251D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4251D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4251D0#FFFFFF#000000##FFFFFF
##4251D01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4251d0;
/* rgb */ color: rgb(66, 81, 208);
/* oklch */ color: oklch(50.2% 0.194 272.1);
Tailwind
colors: {
  custom: {
    50: '#8882df',
    500: '#4251d0',
    950: '#000000',
  },
}
SCSS
$custom: #4251d0;
$custom-light: #8882df;
$custom-dark: #000000;
JSON
{
  "hex": "#4251d0",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 233.662,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.19448,
    "h": 272.1
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#4251D0
secondary
#D5CF99
accent
#D344E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4251D0

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

Preview Lab → · Contrast checker → · Palette generator →

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