#415188#415188

#415188 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.093 H 270.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#415188
RGBrgb(65, 81, 136)
HSLhsl(226, 35%, 39%)
HSVhsv(226, 52%, 53%)
CMYKcmyk(52.2%, 40.4%, 0%, 46.7%)
CIE-LABlab(35.57, 10.29, -32.70)
CIE-LCHlch(35.57, 34.28, 287.47°)
OKLaboklab(44.82% 0.0002 -0.0925)
OKLCHoklch(44.82% 0.093 270.1)
XYZxyz(9.5649, 8.7856, 24.4796)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415188 #887841
analogous
#417588 #415188 #554188
triadic
#415188 #884151 #518841
tetradic
#415188 #884175 #887841 #418855
square
#415188 #884175 #887841 #418855
split-complementary
#415188 #885541 #758841
monochromatic
#192035 #2D385F #415188 #576BAF #8190C3

Accessibility & contrast

On white

7.62
#415188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#415188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415188
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415188#FFFFFF#000000##FFFFFF
##4151881.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B578A
Deuteranopia (green-blind)
#345187
Tritanopia (blue-blind)
#225D66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #415188;
/* rgb */ color: rgb(65, 81, 136);
/* oklch */ color: oklch(44.8% 0.093 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a81ab',
    500: '#415188',
    950: '#000000',
  },
}
SCSS
$custom: #415188;
$custom-light: #7a81ab;
$custom-dark: #000000;
JSON
{
  "hex": "#415188",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 226.479,
    "s": 35.323,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44823,
    "c": 0.09251,
    "h": 270.1
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#415188
secondary
#ADA178
accent
#B25CCB
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #415188

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

Preview Lab → · Contrast checker → · Palette generator →

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