#4250D2#4250D2

#4250D2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.198 H 272.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4250D2
RGBrgb(66, 80, 210)
HSLhsl(234, 62%, 54%)
HSVhsv(234, 69%, 82%)
CMYKcmyk(68.6%, 61.9%, 0%, 17.6%)
CIE-LABlab(40.49, 36.82, -68.65)
CIE-LCHlch(40.49, 77.90, 298.20°)
OKLaboklab(50.16% 0.008 -0.1981)
OKLCHoklch(50.16% 0.198 272.3)
XYZxyz(16.7444, 11.5471, 62.3067)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4250D2 #D2C442
analogous
#4298D2 #4250D2 #7C42D2
triadic
#4250D2 #D24250 #50D242
tetradic
#4250D2 #D24298 #D2C442 #42D27C
square
#4250D2 #D24298 #D2C442 #42D27C
split-complementary
#4250D2 #D27C42 #98D242
monochromatic
#1E277C #2936AD #4250D2 #737EDE #A5ACEA

Accessibility & contrast

On white

6.34
#4250D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4250D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4250D2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4250D2#FFFFFF#000000##FFFFFF
##4250D21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4250d2;
/* rgb */ color: rgb(66, 80, 210);
/* oklch */ color: oklch(50.2% 0.198 272.3);
Tailwind
colors: {
  custom: {
    50: '#8881e1',
    500: '#4250d2',
    950: '#000000',
  },
}
SCSS
$custom: #4250d2;
$custom-light: #8881e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4250d2",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 234.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50164,
    "c": 0.19826,
    "h": 272.3
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#4250D2
secondary
#D7D199
accent
#D543E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4250D2

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

Preview Lab → · Contrast checker → · Palette generator →

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