#42519F#42519F

#42519F is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.127 H 272.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#42519F
RGBrgb(66, 81, 159)
HSLhsl(230, 41%, 44%)
HSVhsv(230, 58%, 62%)
CMYKcmyk(58.5%, 49.1%, 0%, 37.6%)
CIE-LABlab(37.01, 18.40, -44.33)
CIE-LCHlch(37.01, 47.99, 292.54°)
OKLaboklab(46.39% 0.0053 -0.1266)
OKLCHoklch(46.39% 0.127 272.4)
XYZxyz(11.4451, 9.5455, 34.0335)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42519F #9F9042
analogous
#42809F #42519F #62429F
triadic
#42519F #9F4251 #519F42
tetradic
#42519F #9F4280 #9F9042 #429F62
square
#42519F #9F4280 #9F9042 #429F62
split-complementary
#42519F #9F6242 #809F42
monochromatic
#1E2549 #303B74 #42519F #6170BD #8C97CF

Accessibility & contrast

On white

7.22
#42519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#42519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42519F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42519F#FFFFFF#000000##FFFFFF
##42519F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA2
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42519f;
/* rgb */ color: rgb(66, 81, 159);
/* oklch */ color: oklch(46.4% 0.127 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e81bc',
    500: '#42519f',
    950: '#000000',
  },
}
SCSS
$custom: #42519f;
$custom-light: #7e81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#42519f",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 230.323,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.12669,
    "h": 272.4
  },
  "luminance": 0.09546
}

Semantic roles & 50–950 ramp

primary
#42519F
secondary
#BAB182
accent
#BD57D1
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #42519F

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

Preview Lab → · Contrast checker → · Palette generator →

#42519F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva