#42519B#42519B

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

Color values

HEX#42519B
RGBrgb(66, 81, 155)
HSLhsl(230, 40%, 43%)
HSVhsv(230, 57%, 61%)
CMYKcmyk(57.4%, 47.7%, 0%, 39.2%)
CIE-LABlab(36.76, 17.01, -42.33)
CIE-LCHlch(36.76, 45.62, 291.89°)
OKLaboklab(46.12% 0.0047 -0.1207)
OKLCHoklch(46.12% 0.121 272.2)
XYZxyz(11.1037, 9.4089, 32.2350)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42519B #9B8C42
analogous
#427D9B #42519B #5F429B
triadic
#42519B #9B4251 #519B42
tetradic
#42519B #9B427D #9B8C42 #429B5F
square
#42519B #9B427D #9B8C42 #429B5F
split-complementary
#42519B #9B5F42 #7D9B42
monochromatic
#1D2445 #303B70 #42519B #5F6FBB #8A95CD

Accessibility & contrast

On white

7.29
#42519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42519B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42519B#FFFFFF#000000##FFFFFF
##42519B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9E
Deuteranopia (green-blind)
#225399
Tritanopia (blue-blind)
#0B616E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #42519b;
/* rgb */ color: rgb(66, 81, 155);
/* oklch */ color: oklch(46.1% 0.121 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e81b9',
    500: '#42519b',
    950: '#000000',
  },
}
SCSS
$custom: #42519b;
$custom-light: #7e81b9;
$custom-dark: #000000;
JSON
{
  "hex": "#42519b",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 229.888,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.1208,
    "h": 272.2
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#42519B
secondary
#B8AF81
accent
#BC58D0
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #42519B

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

Preview Lab → · Contrast checker → · Palette generator →

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