#4147B2#4147B2

#4147B2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.167 H 275.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4147B2
RGBrgb(65, 71, 178)
HSLhsl(237, 47%, 48%)
HSVhsv(237, 63%, 70%)
CMYKcmyk(63.5%, 60.1%, 0%, 30.2%)
CIE-LABlab(35.68, 31.28, -57.81)
CIE-LCHlch(35.68, 65.73, 298.41°)
OKLaboklab(45.81% 0.0151 -0.1664)
OKLCHoklch(45.81% 0.167 275.2)
XYZxyz(12.4665, 8.8436, 43.1609)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147B2 #B2AC41
analogous
#4180B2 #4147B2 #7341B2
triadic
#4147B2 #B24147 #47B241
tetradic
#4147B2 #B24180 #B2AC41 #41B273
square
#4147B2 #B24180 #B2AC41 #41B273
split-complementary
#4147B2 #B27341 #80B241
monochromatic
#202358 #313585 #4147B2 #686DC8 #9599D8

Accessibility & contrast

On white

7.58
#4147B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4147B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147B2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147B2#FFFFFF#000000##FFFFFF
##4147B21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4147b2;
/* rgb */ color: rgb(65, 71, 178);
/* oklch */ color: oklch(45.8% 0.167 275.2);
Tailwind
colors: {
  custom: {
    50: '#827aca',
    500: '#4147b2',
    950: '#000000',
  },
}
SCSS
$custom: #4147b2;
$custom-light: #827aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4147b2",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 236.814,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.16706,
    "h": 275.2
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#4147B2
secondary
#C4C18B
accent
#CF52D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4147B2

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

Preview Lab → · Contrast checker → · Palette generator →

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