#415181#415181

#415181 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.082 H 268.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#415181
RGBrgb(65, 81, 129)
HSLhsl(225, 33%, 38%)
HSVhsv(225, 50%, 51%)
CMYKcmyk(49.6%, 37.2%, 0%, 49.4%)
CIE-LABlab(35.19, 7.96, -29.00)
CIE-LCHlch(35.19, 30.08, 285.34°)
OKLaboklab(44.41% -0.0015 -0.0817)
OKLCHoklch(44.41% 0.082 268.9)
XYZxyz(9.0836, 8.5931, 21.9446)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415181 #817141
analogous
#417181 #415181 #514181
triadic
#415181 #814151 #518141
tetradic
#415181 #814171 #817141 #418151
square
#415181 #814171 #817141 #418151
split-complementary
#415181 #815141 #718141
monochromatic
#181E30 #2C3758 #415181 #566BAA #7E8EBE

Accessibility & contrast

On white

7.72
#415181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#415181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415181
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415181#FFFFFF#000000##FFFFFF
##4151811.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5683
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#285B63
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #415181;
/* rgb */ color: rgb(65, 81, 129);
/* oklch */ color: oklch(44.4% 0.082 268.9);
Tailwind
colors: {
  custom: {
    50: '#7981a6',
    500: '#415181',
    950: '#000000',
  },
}
SCSS
$custom: #415181;
$custom-light: #7981a6;
$custom-dark: #000000;
JSON
{
  "hex": "#415181",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 225,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44407,
    "c": 0.08173,
    "h": 268.9
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#415181
secondary
#A99C75
accent
#AF5FC9
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #415181

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

Preview Lab → · Contrast checker → · Palette generator →

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