#415296#415296

#415296 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.9% C 0.112 H 270.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#415296
RGBrgb(65, 82, 150)
HSLhsl(228, 40%, 42%)
HSVhsv(228, 57%, 59%)
CMYKcmyk(56.7%, 45.3%, 0%, 41.2%)
CIE-LABlab(36.67, 14.41, -39.47)
CIE-LCHlch(36.67, 42.02, 290.06°)
OKLaboklab(45.93% 0.0017 -0.1123)
OKLCHoklch(45.93% 0.112 270.9)
XYZxyz(10.7005, 9.3596, 30.0910)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415296 #968541
analogous
#417D96 #415296 #5B4196
triadic
#415296 #964152 #529641
tetradic
#415296 #96417D #968541 #41965B
square
#415296 #96417D #968541 #41965B
split-complementary
#415296 #965B41 #7D9641
monochromatic
#1C2341 #2E3B6B #415296 #5C6EB8 #8794CB

Accessibility & contrast

On white

7.31
#415296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#415296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415296
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415296#FFFFFF#000000##FFFFFF
##4152961.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A99
Deuteranopia (green-blind)
#295395
Tritanopia (blue-blind)
#10616C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #415296;
/* rgb */ color: rgb(65, 82, 150);
/* oklch */ color: oklch(45.9% 0.112 270.9);
Tailwind
colors: {
  custom: {
    50: '#7c82b5',
    500: '#415296',
    950: '#000000',
  },
}
SCSS
$custom: #415296;
$custom-light: #7c82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#415296",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 228,
    "s": 39.535,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.11232,
    "h": 270.9
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#415296
secondary
#B6AA7D
accent
#B858CF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #415296

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

Preview Lab → · Contrast checker → · Palette generator →

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