#415197#415197

#415197 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.8% C 0.115 H 271.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#415197
RGBrgb(65, 81, 151)
HSLhsl(229, 40%, 42%)
HSVhsv(229, 57%, 59%)
CMYKcmyk(57%, 46.4%, 0%, 40.8%)
CIE-LABlab(36.45, 15.41, -40.42)
CIE-LCHlch(36.45, 43.26, 290.87°)
OKLaboklab(45.78% 0.003 -0.1151)
OKLCHoklch(45.78% 0.115 271.5)
XYZxyz(10.7065, 9.2423, 30.4919)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415197 #978741
analogous
#417C97 #415197 #5C4197
triadic
#415197 #974151 #519741
tetradic
#415197 #97417C #978741 #41975C
square
#415197 #97417C #978741 #41975C
split-complementary
#415197 #975C41 #7C9741
monochromatic
#1C2341 #2F3A6C #415197 #5C6EB9 #8794CB

Accessibility & contrast

On white

7.37
#415197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#415197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415197
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415197#FFFFFF#000000##FFFFFF
##4151971.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#0F606C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #415197;
/* rgb */ color: rgb(65, 81, 151);
/* oklch */ color: oklch(45.8% 0.115 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d81b6',
    500: '#415197',
    950: '#000000',
  },
}
SCSS
$custom: #415197;
$custom-light: #7d81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#415197",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 228.837,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.11517,
    "h": 271.5
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

primary
#415197
secondary
#B6AC7E
accent
#B958D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #415197

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

Preview Lab → · Contrast checker → · Palette generator →

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