#415798#415798

#415798 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.2% C 0.109 H 268.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#415798
RGBrgb(65, 87, 152)
HSLhsl(225, 40%, 43%)
HSVhsv(225, 57%, 60%)
CMYKcmyk(57.2%, 42.8%, 0%, 40.4%)
CIE-LABlab(38.21, 11.86, -38.21)
CIE-LCHlch(38.21, 40.01, 287.24°)
OKLaboklab(47.15% -0.0038 -0.1086)
OKLCHoklch(47.15% 0.109 268)
XYZxyz(11.2538, 10.2064, 31.0767)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415798 #988241
analogous
#418298 #415798 #574198
triadic
#415798 #984157 #579841
tetradic
#415798 #984182 #988241 #419857
square
#415798 #984182 #988241 #419857
split-complementary
#415798 #985741 #829841
monochromatic
#1C2642 #2F3E6D #415798 #5D74BA #8899CC

Accessibility & contrast

On white

6.90
#415798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#415798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #415798
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415798#FFFFFF#000000##FFFFFF
##4157981.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9B
Deuteranopia (green-blind)
#305697
Tritanopia (blue-blind)
#0A6570
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #415798;
/* rgb */ color: rgb(65, 87, 152);
/* oklch */ color: oklch(47.2% 0.109 268.0);
Tailwind
colors: {
  custom: {
    50: '#7d86b7',
    500: '#415798',
    950: '#000000',
  },
}
SCSS
$custom: #415798;
$custom-light: #7d86b7;
$custom-dark: #000000;
JSON
{
  "hex": "#415798",
  "rgb": {
    "r": 65,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 224.828,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.10866,
    "h": 268
  },
  "luminance": 0.10207
}

Semantic roles & 50–950 ramp

primary
#415798
secondary
#B7A87E
accent
#B258D0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #415798

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

Preview Lab → · Contrast checker → · Palette generator →

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