#4259C6#4259C6

#4259C6 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.171 H 270.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4259C6
RGBrgb(66, 89, 198)
HSLhsl(230, 54%, 52%)
HSVhsv(230, 67%, 78%)
CMYKcmyk(66.7%, 55.1%, 0%, 22.4%)
CIE-LABlab(41.81, 26.94, -59.57)
CIE-LCHlch(41.81, 65.38, 294.33°)
OKLaboklab(50.86% 0.0006 -0.1713)
OKLCHoklch(50.86% 0.171 270.2)
XYZxyz(16.0087, 12.3787, 54.9608)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4259C6 #C6AF42
analogous
#429BC6 #4259C6 #6D42C6
triadic
#4259C6 #C64259 #59C642
tetradic
#4259C6 #C6429B #C6AF42 #42C66D
square
#4259C6 #C6429B #C6AF42 #42C66D
split-complementary
#4259C6 #C66D42 #9BC642
monochromatic
#212E6D #2F429C #4259C6 #7182D4 #A0ACE2

Accessibility & contrast

On white

6.04
#4259C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4259C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4259C6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4259C6#FFFFFF#000000##FFFFFF
##4259C61.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4259c6;
/* rgb */ color: rgb(66, 89, 198);
/* oklch */ color: oklch(50.9% 0.171 270.2);
Tailwind
colors: {
  custom: {
    50: '#8587d8',
    500: '#4259c6',
    950: '#000000',
  },
}
SCSS
$custom: #4259c6;
$custom-light: #8587d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4259c6",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 198
  },
  "hsl": {
    "h": 229.545,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.17131,
    "h": 270.2
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#4259C6
secondary
#CFC595
accent
#C44BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4259C6

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

Preview Lab → · Contrast checker → · Palette generator →

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