#4251CA#4251CA

#4251CA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.187 H 272.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4251CA
RGBrgb(66, 81, 202)
HSLhsl(233, 56%, 53%)
HSVhsv(233, 67%, 79%)
CMYKcmyk(67.3%, 59.9%, 0%, 20.8%)
CIE-LABlab(40.09, 33.42, -64.68)
CIE-LCHlch(40.09, 72.80, 297.32°)
OKLaboklab(49.67% 0.0074 -0.1864)
OKLCHoklch(49.67% 0.187 272.3)
XYZxyz(15.8463, 11.3059, 57.2128)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251CA #CABB42
analogous
#4295CA #4251CA #7742CA
triadic
#4251CA #CA4251 #51CA42
tetradic
#4251CA #CA4295 #CABB42 #42CA77
square
#4251CA #CA4295 #CABB42 #42CA77
split-complementary
#4251CA #CA7742 #95CA42
monochromatic
#202972 #2D3AA2 #4251CA #727DD7 #A2A9E5

Accessibility & contrast

On white

6.44
#4251CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4251CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4251CA#FFFFFF#000000##FFFFFF
##4251CA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4251ca;
/* rgb */ color: rgb(66, 81, 202);
/* oklch */ color: oklch(49.7% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#8681db',
    500: '#4251ca',
    950: '#000000',
  },
}
SCSS
$custom: #4251ca;
$custom-light: #8681db;
$custom-dark: #000000;
JSON
{
  "hex": "#4251ca",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 233.382,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.18659,
    "h": 272.3
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#4251CA
secondary
#D1CB96
accent
#CF48DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4251CA

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

Preview Lab → · Contrast checker → · Palette generator →

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