#415397#415397

#415397 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.2% C 0.112 H 270.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#415397
RGBrgb(65, 83, 151)
HSLhsl(227, 40%, 42%)
HSVhsv(227, 57%, 59%)
CMYKcmyk(57%, 45%, 0%, 40.8%)
CIE-LABlab(37.01, 14.11, -39.52)
CIE-LCHlch(37.01, 41.97, 289.64°)
OKLaboklab(46.21% 0.0007 -0.1125)
OKLCHoklch(46.21% 0.112 270.4)
XYZxyz(10.8573, 9.5439, 30.5422)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415397 #978541
analogous
#417E97 #415397 #5A4197
triadic
#415397 #974153 #539741
tetradic
#415397 #97417E #978541 #41975A
square
#415397 #97417E #978541 #41975A
split-complementary
#415397 #975A41 #7E9741
monochromatic
#1C2441 #2F3B6C #415397 #5C70B9 #8795CB

Accessibility & contrast

On white

7.22
#415397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#415397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415397
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415397#FFFFFF#000000##FFFFFF
##4153971.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#2A5496
Tritanopia (blue-blind)
#0E626D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #415397;
/* rgb */ color: rgb(65, 83, 151);
/* oklch */ color: oklch(46.2% 0.112 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c83b6',
    500: '#415397',
    950: '#000000',
  },
}
SCSS
$custom: #415397;
$custom-light: #7c83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#415397",
  "rgb": {
    "r": 65,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 227.442,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46213,
    "c": 0.11246,
    "h": 270.4
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#415397
secondary
#B6AA7E
accent
#B758D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #415397

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

Preview Lab → · Contrast checker → · Palette generator →

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