#415398#415398

#415398 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.114 H 270.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#415398
RGBrgb(65, 83, 152)
HSLhsl(228, 40%, 43%)
HSVhsv(228, 57%, 60%)
CMYKcmyk(57.2%, 45.4%, 0%, 40.4%)
CIE-LABlab(37.07, 14.45, -40.03)
CIE-LCHlch(37.07, 42.56, 289.85°)
OKLaboklab(46.28% 0.0009 -0.1139)
OKLCHoklch(46.28% 0.114 270.4)
XYZxyz(10.9389, 9.5765, 30.9717)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415398 #988641
analogous
#417F98 #415398 #5A4198
triadic
#415398 #984153 #539841
tetradic
#415398 #98417F #988641 #41985A
square
#415398 #98417F #988641 #41985A
split-complementary
#415398 #985A41 #7F9841
monochromatic
#1C2442 #2F3C6D #415398 #5D70BA #8896CC

Accessibility & contrast

On white

7.20
#415398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#415398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415398
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415398#FFFFFF#000000##FFFFFF
##4153981.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9B
Deuteranopia (green-blind)
#295497
Tritanopia (blue-blind)
#0C626E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #415398;
/* rgb */ color: rgb(65, 83, 152);
/* oklch */ color: oklch(46.3% 0.114 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d83b7',
    500: '#415398',
    950: '#000000',
  },
}
SCSS
$custom: #415398;
$custom-light: #7d83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#415398",
  "rgb": {
    "r": 65,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 227.586,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46279,
    "c": 0.11395,
    "h": 270.4
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #415398

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

Preview Lab → · Contrast checker → · Palette generator →

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