#4137B8#4137B8

#4137B8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.7% C 0.194 H 278.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4137B8
RGBrgb(65, 55, 184)
HSLhsl(245, 54%, 47%)
HSVhsv(245, 70%, 72%)
CMYKcmyk(64.7%, 70.1%, 0%, 27.8%)
CIE-LABlab(32.52, 43.07, -66.54)
CIE-LCHlch(32.52, 79.26, 302.91°)
OKLaboklab(43.66% 0.0275 -0.192)
OKLCHoklch(43.66% 0.194 278.1)
XYZxyz(12.1951, 7.3159, 46.1076)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4137B8 #AEB837
analogous
#376EB8 #4137B8 #8237B8
triadic
#4137B8 #B84137 #37B841
tetradic
#4137B8 #B8376E #AEB837 #37B882
square
#4137B8 #B8376E #AEB837 #37B882
split-complementary
#4137B8 #B88237 #6EB837
monochromatic
#201B5A #302989 #4137B8 #665DCF #938DDD

Accessibility & contrast

On white

8.52
#4137B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4137B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4137B8
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4137B8#FFFFFF#000000##FFFFFF
##4137B81.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4137b8;
/* rgb */ color: rgb(65, 55, 184);
/* oklch */ color: oklch(43.7% 0.194 278.1);
Tailwind
colors: {
  custom: {
    50: '#846fce',
    500: '#4137b8',
    950: '#000000',
  },
}
SCSS
$custom: #4137b8;
$custom-light: #846fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4137b8",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 244.651,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43658,
    "c": 0.19398,
    "h": 278.1
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#4137B8
secondary
#C2C784
accent
#DD4AD2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4137B8

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

Preview Lab → · Contrast checker → · Palette generator →

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