#4250CC#4250CC

#4250CC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.190 H 272.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4250CC
RGBrgb(66, 80, 204)
HSLhsl(234, 58%, 53%)
HSVhsv(234, 68%, 80%)
CMYKcmyk(67.6%, 60.8%, 0%, 20%)
CIE-LABlab(40.00, 34.74, -65.98)
CIE-LCHlch(40.00, 74.57, 297.77°)
OKLaboklab(49.66% 0.0081 -0.1903)
OKLCHoklch(49.66% 0.19 272.4)
XYZxyz(16.0109, 11.2537, 58.4434)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4250CC #CCBE42
analogous
#4295CC #4250CC #7942CC
triadic
#4250CC #CC4250 #50CC42
tetradic
#4250CC #CC4295 #CCBE42 #42CC79
square
#4250CC #CC4295 #CCBE42 #42CC79
split-complementary
#4250CC #CC7942 #95CC42
monochromatic
#1F2874 #2C39A4 #4250CC #727DD9 #A2A9E6

Accessibility & contrast

On white

6.46
#4250CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4250CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4250CC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4250CC#FFFFFF#000000##FFFFFF
##4250CC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4250cc;
/* rgb */ color: rgb(66, 80, 204);
/* oklch */ color: oklch(49.7% 0.190 272.4);
Tailwind
colors: {
  custom: {
    50: '#8781dc',
    500: '#4250cc',
    950: '#000000',
  },
}
SCSS
$custom: #4250cc;
$custom-light: #8781dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4250cc",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 233.913,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49659,
    "c": 0.19043,
    "h": 272.4
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

primary
#4250CC
secondary
#D3CD97
accent
#D147E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4250CC

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

Preview Lab → · Contrast checker → · Palette generator →

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