#4259C4#4259C4

#4259C4 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.169 H 270.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4259C4
RGBrgb(66, 89, 196)
HSLhsl(229, 52%, 51%)
HSVhsv(229, 66%, 77%)
CMYKcmyk(66.3%, 54.6%, 0%, 23.1%)
CIE-LABlab(41.67, 26.23, -58.64)
CIE-LCHlch(41.67, 64.24, 294.10°)
OKLaboklab(50.71% 0.0005 -0.1686)
OKLCHoklch(50.71% 0.169 270.2)
XYZxyz(15.7796, 12.2871, 53.7539)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4259C4 #C4AD42
analogous
#429AC4 #4259C4 #6C42C4
triadic
#4259C4 #C44259 #59C442
tetradic
#4259C4 #C4429A #C4AD42 #42C46C
square
#4259C4 #C4429A #C4AD42 #42C46C
split-complementary
#4259C4 #C46C42 #9AC442
monochromatic
#212E6A #304299 #4259C4 #7182D3 #9FABE1

Accessibility & contrast

On white

6.07
#4259C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4259C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4259C4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4259C4#FFFFFF#000000##FFFFFF
##4259C41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0168C8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4259c4;
/* rgb */ color: rgb(66, 89, 196);
/* oklch */ color: oklch(50.7% 0.169 270.2);
Tailwind
colors: {
  custom: {
    50: '#8587d7',
    500: '#4259c4',
    950: '#000000',
  },
}
SCSS
$custom: #4259c4;
$custom-light: #8587d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4259c4",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 196
  },
  "hsl": {
    "h": 229.385,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50709,
    "c": 0.16858,
    "h": 270.2
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#4259C4
secondary
#CEC394
accent
#C24CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4259C4

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

Preview Lab → · Contrast checker → · Palette generator →

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