#4251CF#4251CF

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

Color values

HEX#4251CF
RGBrgb(66, 81, 207)
HSLhsl(234, 59%, 54%)
HSVhsv(234, 68%, 81%)
CMYKcmyk(68.1%, 60.9%, 0%, 18.8%)
CIE-LABlab(40.49, 35.16, -66.93)
CIE-LCHlch(40.49, 75.60, 297.71°)
OKLaboklab(50.09% 0.0073 -0.193)
OKLCHoklch(50.09% 0.193 272.2)
XYZxyz(16.4479, 11.5465, 60.3813)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251CF #CFC042
analogous
#4297CF #4251CF #7942CF
triadic
#4251CF #CF4251 #51CF42
tetradic
#4251CF #CF4297 #CFC042 #42CF79
square
#4251CF #CF4297 #CFC042 #42CF79
split-complementary
#4251CF #CF7942 #97CF42
monochromatic
#1F2878 #2B38A9 #4251CF #737EDB #A4ABE8

Accessibility & contrast

On white

6.35
#4251CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4251CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4251CF#FFFFFF#000000##FFFFFF
##4251CF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0059CD
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4251cf;
/* rgb */ color: rgb(66, 81, 207);
/* oklch */ color: oklch(50.1% 0.193 272.2);
Tailwind
colors: {
  custom: {
    50: '#8781df',
    500: '#4251cf',
    950: '#000000',
  },
}
SCSS
$custom: #4251cf;
$custom-light: #8781df;
$custom-dark: #000000;
JSON
{
  "hex": "#4251cf",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 233.617,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.19317,
    "h": 272.2
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#4251CF
secondary
#D5CE98
accent
#D245E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4251CF

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

Preview Lab → · Contrast checker → · Palette generator →

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