#4259C5#4259C5

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

Color values

HEX#4259C5
RGBrgb(66, 89, 197)
HSLhsl(229, 53%, 52%)
HSVhsv(229, 66%, 77%)
CMYKcmyk(66.5%, 54.8%, 0%, 22.7%)
CIE-LABlab(41.74, 26.59, -59.10)
CIE-LCHlch(41.74, 64.81, 294.22°)
OKLaboklab(50.79% 0.0006 -0.1699)
OKLCHoklch(50.79% 0.17 270.2)
XYZxyz(15.8938, 12.3327, 54.3554)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4259C5 #C5AE42
analogous
#429AC5 #4259C5 #6D42C5
triadic
#4259C5 #C54259 #59C542
tetradic
#4259C5 #C5429A #C5AE42 #42C56D
square
#4259C5 #C5429A #C5AE42 #42C56D
split-complementary
#4259C5 #C56D42 #9AC542
monochromatic
#212E6C #2F429A #4259C5 #7182D3 #A0ABE2

Accessibility & contrast

On white

6.06
#4259C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4259C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4259C5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4259C5#FFFFFF#000000##FFFFFF
##4259C51.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4259c5;
/* rgb */ color: rgb(66, 89, 197);
/* oklch */ color: oklch(50.8% 0.170 270.2);
Tailwind
colors: {
  custom: {
    50: '#8587d7',
    500: '#4259c5',
    950: '#000000',
  },
}
SCSS
$custom: #4259c5;
$custom-light: #8587d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4259c5",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 197
  },
  "hsl": {
    "h": 229.466,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50785,
    "c": 0.16995,
    "h": 270.2
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#4259C5
secondary
#CEC495
accent
#C34BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4259C5

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

Preview Lab → · Contrast checker → · Palette generator →

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