#42519D#42519D

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

Color values

HEX#42519D
RGBrgb(66, 81, 157)
HSLhsl(230, 41%, 44%)
HSVhsv(230, 58%, 62%)
CMYKcmyk(58%, 48.4%, 0%, 38.4%)
CIE-LABlab(36.89, 17.70, -43.33)
CIE-LCHlch(36.89, 46.81, 292.22°)
OKLaboklab(46.25% 0.005 -0.1236)
OKLCHoklch(46.25% 0.124 272.3)
XYZxyz(11.2730, 9.4766, 33.1269)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42519D #9D8E42
analogous
#427E9D #42519D #60429D
triadic
#42519D #9D4251 #519D42
tetradic
#42519D #9D427E #9D8E42 #429D60
square
#42519D #9D427E #9D8E42 #429D60
split-complementary
#42519D #9D6042 #7E9D42
monochromatic
#1E2547 #303B72 #42519D #606FBC #8B96CE

Accessibility & contrast

On white

7.25
#42519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42519D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42519D#FFFFFF#000000##FFFFFF
##42519D1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#1F539B
Tritanopia (blue-blind)
#06626F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42519d;
/* rgb */ color: rgb(66, 81, 157);
/* oklch */ color: oklch(46.3% 0.124 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e81ba',
    500: '#42519d',
    950: '#000000',
  },
}
SCSS
$custom: #42519d;
$custom-light: #7e81ba;
$custom-dark: #000000;
JSON
{
  "hex": "#42519d",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 230.11,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46254,
    "c": 0.12375,
    "h": 272.3
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#42519D
secondary
#B9B082
accent
#BD57D1
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #42519D

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

Preview Lab → · Contrast checker → · Palette generator →

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