#4145AB#4145AB

#4145AB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.160 H 276.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4145AB
RGBrgb(65, 69, 171)
HSLhsl(238, 45%, 46%)
HSVhsv(238, 62%, 67%)
CMYKcmyk(62%, 59.6%, 0%, 32.9%)
CIE-LABlab(34.64, 30.14, -55.35)
CIE-LCHlch(34.64, 63.02, 298.57°)
OKLaboklab(44.87% 0.0171 -0.1591)
OKLCHoklch(44.87% 0.16 276.1)
XYZxyz(11.6564, 8.3194, 39.5117)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145AB #ABA741
analogous
#417AAB #4145AB #7241AB
triadic
#4145AB #AB4145 #45AB41
tetradic
#4145AB #AB417A #ABA741 #41AB72
square
#4145AB #AB417A #ABA741 #41AB72
split-complementary
#4145AB #AB7241 #7AAB41
monochromatic
#1F2152 #30337F #4145AB #6568C4 #9194D5

Accessibility & contrast

On white

7.88
#4145AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4145AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145AB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145AB#FFFFFF#000000##FFFFFF
##4145AB1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4145ab;
/* rgb */ color: rgb(65, 69, 171);
/* oklch */ color: oklch(44.9% 0.160 276.1);
Tailwind
colors: {
  custom: {
    50: '#8178c5',
    500: '#4145ab',
    950: '#000000',
  },
}
SCSS
$custom: #4145ab;
$custom-light: #8178c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4145ab",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 237.736,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.16006,
    "h": 276.1
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#4145AB
secondary
#C1BE87
accent
#D053D5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4145AB

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

Preview Lab → · Contrast checker → · Palette generator →

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