#42519E#42519E

#42519E is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.125 H 272.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#42519E
RGBrgb(66, 81, 158)
HSLhsl(230, 41%, 44%)
HSVhsv(230, 58%, 62%)
CMYKcmyk(58.2%, 48.7%, 0%, 38%)
CIE-LABlab(36.95, 18.05, -43.83)
CIE-LCHlch(36.95, 47.40, 292.38°)
OKLaboklab(46.32% 0.0051 -0.1251)
OKLCHoklch(46.32% 0.125 272.3)
XYZxyz(11.3587, 9.5109, 33.5783)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42519E #9E8F42
analogous
#427F9E #42519E #61429E
triadic
#42519E #9E4251 #519E42
tetradic
#42519E #9E427F #9E8F42 #429E61
square
#42519E #9E427F #9E8F42 #429E61
split-complementary
#42519E #9E6142 #7F9E42
monochromatic
#1E2548 #303B73 #42519E #606FBD #8C97CF

Accessibility & contrast

On white

7.24
#42519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#42519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42519E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42519E#FFFFFF#000000##FFFFFF
##42519E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#1E539C
Tritanopia (blue-blind)
#036270
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42519e;
/* rgb */ color: rgb(66, 81, 158);
/* oklch */ color: oklch(46.3% 0.125 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e81bb',
    500: '#42519e',
    950: '#000000',
  },
}
SCSS
$custom: #42519e;
$custom-light: #7e81bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42519e",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 230.217,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46323,
    "c": 0.12522,
    "h": 272.3
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42519E

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

Preview Lab → · Contrast checker → · Palette generator →

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