#4137AF#4137AF

#4137AF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.183 H 279.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4137AF
RGBrgb(65, 55, 175)
HSLhsl(245, 52%, 45%)
HSVhsv(245, 69%, 69%)
CMYKcmyk(62.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(31.69, 40.15, -62.54)
CIE-LCHlch(31.69, 74.32, 302.70°)
OKLaboklab(42.82% 0.0289 -0.1803)
OKLCHoklch(42.82% 0.183 279.1)
XYZxyz(11.2816, 6.9505, 41.2962)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4137AF #A5AF37
analogous
#3769AF #4137AF #7D37AF
triadic
#4137AF #AF4137 #37AF41
tetradic
#4137AF #AF3769 #A5AF37 #37AF7D
square
#4137AF #AF3769 #A5AF37 #37AF7D
split-complementary
#4137AF #AF7D37 #69AF37
monochromatic
#1E1A52 #302880 #4137AF #6259CB #8E87D9

Accessibility & contrast

On white

8.79
#4137AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4137AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4137AF
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4137AF#FFFFFF#000000##FFFFFF
##4137AF1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4137af;
/* rgb */ color: rgb(65, 55, 175);
/* oklch */ color: oklch(42.8% 0.183 279.1);
Tailwind
colors: {
  custom: {
    50: '#836fc8',
    500: '#4137af',
    950: '#000000',
  },
}
SCSS
$custom: #4137af;
$custom-light: #836fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4137af",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 245,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.18261,
    "h": 279.1
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#4137AF
secondary
#BEC37F
accent
#DC4CD0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4137AF

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

Preview Lab → · Contrast checker → · Palette generator →

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