#415291#415291

#415291 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.6% C 0.105 H 270.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#415291
RGBrgb(65, 82, 145)
HSLhsl(227, 38%, 41%)
HSVhsv(227, 55%, 57%)
CMYKcmyk(55.2%, 43.4%, 0%, 43.1%)
CIE-LABlab(36.37, 12.70, -36.91)
CIE-LCHlch(36.37, 39.03, 288.98°)
OKLaboklab(45.61% 0.0008 -0.1048)
OKLCHoklch(45.61% 0.105 270.4)
XYZxyz(10.3064, 9.2020, 28.0156)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415291 #918041
analogous
#417A91 #415291 #584191
triadic
#415291 #914152 #529141
tetradic
#415291 #91417A #918041 #419158
square
#415291 #91417A #918041 #419158
split-complementary
#415291 #915841 #7A9141
monochromatic
#1B223C #2E3A67 #415291 #5A6DB5 #8493C8

Accessibility & contrast

On white

7.39
#415291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#415291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415291
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415291#FFFFFF#000000##FFFFFF
##4152911.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375993
Deuteranopia (green-blind)
#2E5290
Tritanopia (blue-blind)
#18606A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #415291;
/* rgb */ color: rgb(65, 82, 145);
/* oklch */ color: oklch(45.6% 0.105 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c82b1',
    500: '#415291',
    950: '#000000',
  },
}
SCSS
$custom: #415291;
$custom-light: #7c82b1;
$custom-dark: #000000;
JSON
{
  "hex": "#415291",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 227.25,
    "s": 38.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.10482,
    "h": 270.4
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#415291
secondary
#B3A77B
accent
#B55ACE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #415291

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

Preview Lab → · Contrast checker → · Palette generator →

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