#415797#415797

#415797 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.1% C 0.107 H 267.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#415797
RGBrgb(65, 87, 151)
HSLhsl(225, 40%, 42%)
HSVhsv(225, 57%, 59%)
CMYKcmyk(57%, 42.4%, 0%, 40.8%)
CIE-LABlab(38.15, 11.51, -37.70)
CIE-LCHlch(38.15, 39.42, 286.98°)
OKLaboklab(47.09% -0.004 -0.1071)
OKLCHoklch(47.09% 0.107 267.9)
XYZxyz(11.1722, 10.1737, 30.6471)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415797 #978141
analogous
#418297 #415797 #564197
triadic
#415797 #974157 #579741
tetradic
#415797 #974182 #978141 #419756
square
#415797 #974182 #978141 #419756
split-complementary
#415797 #975641 #829741
monochromatic
#1C2641 #2F3E6C #415797 #5C74B9 #8799CB

Accessibility & contrast

On white

6.92
#415797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#415797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #415797
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415797#FFFFFF#000000##FFFFFF
##4157971.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E99
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#0C656F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #415797;
/* rgb */ color: rgb(65, 87, 151);
/* oklch */ color: oklch(47.1% 0.107 267.9);
Tailwind
colors: {
  custom: {
    50: '#7c86b6',
    500: '#415797',
    950: '#000000',
  },
}
SCSS
$custom: #415797;
$custom-light: #7c86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#415797",
  "rgb": {
    "r": 65,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 224.651,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47088,
    "c": 0.10716,
    "h": 267.9
  },
  "luminance": 0.10175
}

Semantic roles & 50–950 ramp

primary
#415797
secondary
#B6A87E
accent
#B158D0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #415797

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

Preview Lab → · Contrast checker → · Palette generator →

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