#4137AE#4137AE

#4137AE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.7% C 0.181 H 279.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4137AE
RGBrgb(65, 55, 174)
HSLhsl(245, 52%, 45%)
HSVhsv(245, 68%, 68%)
CMYKcmyk(62.6%, 68.4%, 0%, 31.8%)
CIE-LABlab(31.60, 39.82, -62.09)
CIE-LCHlch(31.60, 73.76, 302.67°)
OKLaboklab(42.73% 0.029 -0.179)
OKLCHoklch(42.73% 0.181 279.2)
XYZxyz(11.1837, 6.9113, 40.7809)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4137AE #A4AE37
analogous
#3769AE #4137AE #7D37AE
triadic
#4137AE #AE4137 #37AE41
tetradic
#4137AE #AE3769 #A4AE37 #37AE7D
square
#4137AE #AE3769 #A4AE37 #37AE7D
split-complementary
#4137AE #AE7D37 #69AE37
monochromatic
#1E1A51 #30287F #4137AE #6258CA #8D86D9

Accessibility & contrast

On white

8.81
#4137AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4137AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4137AE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4137AE#FFFFFF#000000##FFFFFF
##4137AE1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4137ae;
/* rgb */ color: rgb(65, 55, 174);
/* oklch */ color: oklch(42.7% 0.181 279.2);
Tailwind
colors: {
  custom: {
    50: '#826fc7',
    500: '#4137ae',
    950: '#000000',
  },
}
SCSS
$custom: #4137ae;
$custom-light: #826fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4137ae",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 245.042,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.18133,
    "h": 279.2
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#4137AE
secondary
#BDC37E
accent
#DB4CCF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4137AE

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

Preview Lab → · Contrast checker → · Palette generator →

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