#4145AF#4145AF

#4145AF is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.166 H 275.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4145AF
RGBrgb(65, 69, 175)
HSLhsl(238, 46%, 47%)
HSVhsv(238, 63%, 69%)
CMYKcmyk(62.9%, 60.6%, 0%, 31.4%)
CIE-LABlab(34.95, 31.52, -57.22)
CIE-LCHlch(34.95, 65.32, 298.85°)
OKLaboklab(45.19% 0.017 -0.1646)
OKLCHoklch(45.19% 0.166 275.9)
XYZxyz(12.0434, 8.4742, 41.5502)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145AF #AFAB41
analogous
#417CAF #4145AF #7441AF
triadic
#4145AF #AF4145 #45AF41
tetradic
#4145AF #AF417C #AFAB41 #41AF74
square
#4145AF #AF417C #AFAB41 #41AF74
split-complementary
#4145AF #AF7441 #7CAF41
monochromatic
#202256 #303382 #4145AF #676AC6 #9396D7

Accessibility & contrast

On white

7.79
#4145AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4145AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145AF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145AF#FFFFFF#000000##FFFFFF
##4145AF1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4145af;
/* rgb */ color: rgb(65, 69, 175);
/* oklch */ color: oklch(45.2% 0.166 275.9);
Tailwind
colors: {
  custom: {
    50: '#8279c8',
    500: '#4145af',
    950: '#000000',
  },
}
SCSS
$custom: #4145af;
$custom-light: #8279c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4145af",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 237.818,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.16553,
    "h": 275.9
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#4145AF
secondary
#C2C089
accent
#D152D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4145AF

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

Preview Lab → · Contrast checker → · Palette generator →

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