#42519A#42519A

#42519A is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.1% C 0.119 H 272.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#42519A
RGBrgb(66, 81, 154)
HSLhsl(230, 40%, 43%)
HSVhsv(230, 57%, 60%)
CMYKcmyk(57.1%, 47.4%, 0%, 39.6%)
CIE-LABlab(36.70, 16.67, -41.83)
CIE-LCHlch(36.70, 45.03, 291.72°)
OKLaboklab(46.05% 0.0046 -0.1192)
OKLCHoklch(46.05% 0.119 272.2)
XYZxyz(11.0200, 9.3754, 31.7945)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42519A #9A8B42
analogous
#427D9A #42519A #5F429A
triadic
#42519A #9A4251 #519A42
tetradic
#42519A #9A427D #9A8B42 #429A5F
square
#42519A #9A427D #9A8B42 #429A5F
split-complementary
#42519A #9A5F42 #7D9A42
monochromatic
#1D2444 #303A6F #42519A #5F6EBA #8A95CD

Accessibility & contrast

On white

7.30
#42519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#42519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42519A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42519A#FFFFFF#000000##FFFFFF
##42519A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#235398
Tritanopia (blue-blind)
#0E616E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #42519a;
/* rgb */ color: rgb(66, 81, 154);
/* oklch */ color: oklch(46.1% 0.119 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e81b8',
    500: '#42519a',
    950: '#000000',
  },
}
SCSS
$custom: #42519a;
$custom-light: #7e81b8;
$custom-dark: #000000;
JSON
{
  "hex": "#42519a",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 229.773,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.11933,
    "h": 272.2
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#42519A
secondary
#B8AE80
accent
#BB58D0
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #42519A

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

Preview Lab → · Contrast checker → · Palette generator →

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