#415387#415387

#415387 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.088 H 268.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#415387
RGBrgb(65, 83, 135)
HSLhsl(225, 35%, 39%)
HSVhsv(225, 52%, 53%)
CMYKcmyk(51.9%, 38.5%, 0%, 47.1%)
CIE-LABlab(36.10, 8.66, -31.25)
CIE-LCHlch(36.10, 32.43, 285.48°)
OKLaboklab(45.21% -0.0026 -0.0883)
OKLCHoklch(45.21% 0.088 268.3)
XYZxyz(9.6450, 9.0590, 24.1573)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415387 #877541
analogous
#417687 #415387 #524187
triadic
#415387 #874153 #538741
tetradic
#415387 #874176 #877541 #418752
square
#415387 #874176 #877541 #418752
split-complementary
#415387 #875241 #768741
monochromatic
#192034 #2D3A5E #415387 #576DAE #8091C2

Accessibility & contrast

On white

7.47
#415387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#415387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415387
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415387#FFFFFF#000000##FFFFFF
##4153871.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5889
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#235E66
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #415387;
/* rgb */ color: rgb(65, 83, 135);
/* oklch */ color: oklch(45.2% 0.088 268.3);
Tailwind
colors: {
  custom: {
    50: '#7a83aa',
    500: '#415387',
    950: '#000000',
  },
}
SCSS
$custom: #415387;
$custom-light: #7a83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#415387",
  "rgb": {
    "r": 65,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 224.571,
    "s": 35,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45214,
    "c": 0.0883,
    "h": 268.3
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#415387
secondary
#AD9F77
accent
#AF5DCB
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #415387

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

Preview Lab → · Contrast checker → · Palette generator →

#415387 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva