#4154AF#4154AF

#4154AF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.146 H 271.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4154AF
RGBrgb(65, 84, 175)
HSLhsl(230, 46%, 47%)
HSVhsv(230, 63%, 69%)
CMYKcmyk(62.9%, 52%, 0%, 31.4%)
CIE-LABlab(38.83, 21.86, -50.94)
CIE-LCHlch(38.83, 55.43, 293.22°)
OKLaboklab(48.09% 0.0027 -0.146)
OKLCHoklch(48.09% 0.146 271.1)
XYZxyz(13.0856, 10.5585, 41.8975)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154AF #AF9C41
analogous
#418BAF #4154AF #6541AF
triadic
#4154AF #AF4154 #54AF41
tetradic
#4154AF #AF418B #AF9C41 #41AF65
square
#4154AF #AF418B #AF9C41 #41AF65
split-complementary
#4154AF #AF6541 #8BAF41
monochromatic
#202956 #303F82 #4154AF #6777C6 #939FD7

Accessibility & contrast

On white

6.75
#4154AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4154AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154AF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154AF#FFFFFF#000000##FFFFFF
##4154AF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4154af;
/* rgb */ color: rgb(65, 84, 175);
/* oklch */ color: oklch(48.1% 0.146 271.1);
Tailwind
colors: {
  custom: {
    50: '#8183c7',
    500: '#4154af',
    950: '#000000',
  },
}
SCSS
$custom: #4154af;
$custom-light: #8183c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4154af",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 229.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48088,
    "c": 0.14605,
    "h": 271.1
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#4154AF
secondary
#C2B989
accent
#BF52D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4154AF

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

Preview Lab → · Contrast checker → · Palette generator →

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