#4137B2#4137B2

#4137B2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.186 H 278.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4137B2
RGBrgb(65, 55, 178)
HSLhsl(245, 53%, 46%)
HSVhsv(245, 69%, 70%)
CMYKcmyk(63.5%, 69.1%, 0%, 30.2%)
CIE-LABlab(31.96, 41.12, -63.88)
CIE-LCHlch(31.96, 75.97, 302.77°)
OKLaboklab(43.1% 0.0284 -0.1842)
OKLCHoklch(43.1% 0.186 278.8)
XYZxyz(11.5795, 7.0696, 42.8652)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4137B2 #A8B237
analogous
#376AB2 #4137B2 #7E37B2
triadic
#4137B2 #B24137 #37B241
tetradic
#4137B2 #B2376A #A8B237 #37B27E
square
#4137B2 #B2376A #A8B237 #37B27E
split-complementary
#4137B2 #B27E37 #6AB237
monochromatic
#1F1A54 #302983 #4137B2 #635ACC #9089DB

Accessibility & contrast

On white

8.70
#4137B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4137B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4137B2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4137B2#FFFFFF#000000##FFFFFF
##4137B21.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4137b2;
/* rgb */ color: rgb(65, 55, 178);
/* oklch */ color: oklch(43.1% 0.186 278.8);
Tailwind
colors: {
  custom: {
    50: '#836fca',
    500: '#4137b2',
    950: '#000000',
  },
}
SCSS
$custom: #4137b2;
$custom-light: #836fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4137b2",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 244.878,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43095,
    "c": 0.18643,
    "h": 278.8
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#4137B2
secondary
#BFC580
accent
#DC4CD0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4137B2

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

Preview Lab → · Contrast checker → · Palette generator →

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