#4251C8#4251C8

#4251C8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.184 H 272.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4251C8
RGBrgb(66, 81, 200)
HSLhsl(233, 55%, 52%)
HSVhsv(233, 67%, 78%)
CMYKcmyk(67%, 59.5%, 0%, 21.6%)
CIE-LABlab(39.93, 32.72, -63.78)
CIE-LCHlch(39.93, 71.68, 297.16°)
OKLaboklab(49.51% 0.0074 -0.1838)
OKLCHoklch(49.51% 0.184 272.3)
XYZxyz(15.6110, 11.2118, 55.9738)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251C8 #C8B942
analogous
#4294C8 #4251C8 #7642C8
triadic
#4251C8 #C84251 #51C842
tetradic
#4251C8 #C84294 #C8B942 #42C876
square
#4251C8 #C84294 #C8B942 #42C876
split-complementary
#4251C8 #C87642 #94C842
monochromatic
#20296F #2E3B9F #4251C8 #717DD6 #A1A8E4

Accessibility & contrast

On white

6.48
#4251C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4251C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4251C8#FFFFFF#000000##FFFFFF
##4251C81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4251c8;
/* rgb */ color: rgb(66, 81, 200);
/* oklch */ color: oklch(49.5% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#8681da',
    500: '#4251c8',
    950: '#000000',
  },
}
SCSS
$custom: #4251c8;
$custom-light: #8681da;
$custom-dark: #000000;
JSON
{
  "hex": "#4251c8",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 233.284,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.18393,
    "h": 272.3
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#4251C8
secondary
#D0CA96
accent
#CE4ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4251C8

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

Preview Lab → · Contrast checker → · Palette generator →

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