#4250C4#4250C4

#4250C4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.180 H 272.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4250C4
RGBrgb(66, 80, 196)
HSLhsl(234, 52%, 51%)
HSVhsv(234, 66%, 77%)
CMYKcmyk(66.3%, 59.2%, 0%, 23.1%)
CIE-LABlab(39.38, 31.96, -62.36)
CIE-LCHlch(39.38, 70.07, 297.14°)
OKLaboklab(49% 0.0083 -0.1796)
OKLCHoklch(49% 0.18 272.6)
XYZxyz(15.0759, 10.8797, 53.5194)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4250C4 #C4B642
analogous
#4291C4 #4250C4 #7542C4
triadic
#4250C4 #C44250 #50C442
tetradic
#4250C4 #C44291 #C4B642 #42C475
square
#4250C4 #C44291 #C4B642 #42C475
split-complementary
#4250C4 #C47542 #91C442
monochromatic
#21296A #303B99 #4250C4 #717BD3 #9FA6E1

Accessibility & contrast

On white

6.61
#4250C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4250C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4250C4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4250C4#FFFFFF#000000##FFFFFF
##4250C41.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4250c4;
/* rgb */ color: rgb(66, 80, 196);
/* oklch */ color: oklch(49.0% 0.180 272.6);
Tailwind
colors: {
  custom: {
    50: '#8581d7',
    500: '#4250c4',
    950: '#000000',
  },
}
SCSS
$custom: #4250c4;
$custom-light: #8581d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4250c4",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 233.538,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48998,
    "c": 0.17982,
    "h": 272.6
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#4250C4
secondary
#CEC794
accent
#CC4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4250C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4250C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva