#4251D3#4251D3

#4251D3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.198 H 272.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4251D3
RGBrgb(66, 81, 211)
HSLhsl(234, 62%, 54%)
HSVhsv(234, 69%, 83%)
CMYKcmyk(68.7%, 61.6%, 0%, 17.3%)
CIE-LABlab(40.81, 36.54, -68.70)
CIE-LCHlch(40.81, 77.82, 298.01°)
OKLaboklab(50.43% 0.0072 -0.1982)
OKLCHoklch(50.43% 0.198 272.1)
XYZxyz(16.9431, 11.7446, 62.9894)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4251D3 #D3C442
analogous
#429AD3 #4251D3 #7C42D3
triadic
#4251D3 #D34251 #51D342
tetradic
#4251D3 #D3429A #D3C442 #42D37C
square
#4251D3 #D3429A #D3C442 #42D37C
split-complementary
#4251D3 #D37C42 #9AD342
monochromatic
#1D277D #2937AF #4251D3 #747FDF #A5ACEA

Accessibility & contrast

On white

6.27
#4251D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4251D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4251D3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4251D3#FFFFFF#000000##FFFFFF
##4251D31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4251d3;
/* rgb */ color: rgb(66, 81, 211);
/* oklch */ color: oklch(50.4% 0.198 272.1);
Tailwind
colors: {
  custom: {
    50: '#8882e1',
    500: '#4251d3',
    950: '#000000',
  },
}
SCSS
$custom: #4251d3;
$custom-light: #8882e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4251d3",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 233.793,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.19838,
    "h": 272.1
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#4251D3
secondary
#D7D19A
accent
#D442E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4251D3

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

Preview Lab → · Contrast checker → · Palette generator →

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