#4150AF#4150AF

#4150AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.151 H 272.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4150AF
RGBrgb(65, 80, 175)
HSLhsl(232, 46%, 47%)
HSVhsv(232, 63%, 69%)
CMYKcmyk(62.9%, 54.3%, 0%, 31.4%)
CIE-LABlab(37.76, 24.45, -52.66)
CIE-LCHlch(37.76, 58.06, 294.90°)
OKLaboklab(47.29% 0.0067 -0.1511)
OKLCHoklch(47.29% 0.151 272.5)
XYZxyz(12.7839, 9.9552, 41.7970)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150AF #AFA041
analogous
#4187AF #4150AF #6941AF
triadic
#4150AF #AF4150 #50AF41
tetradic
#4150AF #AF4187 #AFA041 #41AF69
square
#4150AF #AF4187 #AFA041 #41AF69
split-complementary
#4150AF #AF6941 #87AF41
monochromatic
#202756 #303C82 #4150AF #6774C6 #939DD7

Accessibility & contrast

On white

7.02
#4150AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4150AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4150AF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150AF#FFFFFF#000000##FFFFFF
##4150AF1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4150af;
/* rgb */ color: rgb(65, 80, 175);
/* oklch */ color: oklch(47.3% 0.151 272.5);
Tailwind
colors: {
  custom: {
    50: '#8180c7',
    500: '#4150af',
    950: '#000000',
  },
}
SCSS
$custom: #4150af;
$custom-light: #8180c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4150af",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 231.818,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.15128,
    "h": 272.5
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#4150AF
secondary
#C2BB89
accent
#C452D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4150AF

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

Preview Lab → · Contrast checker → · Palette generator →

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