#4137A2#4137A2

#4137A2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.166 H 280.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4137A2
RGBrgb(65, 55, 162)
HSLhsl(246, 49%, 43%)
HSVhsv(246, 66%, 64%)
CMYKcmyk(59.9%, 66%, 0%, 36.5%)
CIE-LABlab(30.55, 35.89, -56.60)
CIE-LCHlch(30.55, 67.02, 302.38°)
OKLaboklab(41.64% 0.0305 -0.1629)
OKLCHoklch(41.64% 0.166 280.6)
XYZxyz(10.0657, 6.4641, 34.8927)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4137A2 #98A237
analogous
#3763A2 #4137A2 #7637A2
triadic
#4137A2 #A24137 #37A241
tetradic
#4137A2 #A23763 #98A237 #37A276
square
#4137A2 #A23763 #98A237 #37A276
split-complementary
#4137A2 #A27637 #63A237
monochromatic
#1C1847 #2F2774 #4137A2 #5D52C4 #8880D4

Accessibility & contrast

On white

9.16
#4137A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4137A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4137A2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4137A2#FFFFFF#000000##FFFFFF
##4137A21.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4137a2;
/* rgb */ color: rgb(65, 55, 162);
/* oklch */ color: oklch(41.6% 0.166 280.6);
Tailwind
colors: {
  custom: {
    50: '#806fbe',
    500: '#4137a2',
    950: '#000000',
  },
}
SCSS
$custom: #4137a2;
$custom-light: #806fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4137a2",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 245.607,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.16572,
    "h": 280.6
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#4137A2
secondary
#B7BD78
accent
#D94FCC
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4137A2

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

Preview Lab → · Contrast checker → · Palette generator →

#4137A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva