#4145AA#4145AA

#4145AA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.159 H 276.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4145AA
RGBrgb(65, 69, 170)
HSLhsl(238, 45%, 46%)
HSVhsv(238, 62%, 67%)
CMYKcmyk(61.8%, 59.4%, 0%, 33.3%)
CIE-LABlab(34.56, 29.80, -54.87)
CIE-LCHlch(34.56, 62.44, 298.50°)
OKLaboklab(44.78% 0.0171 -0.1577)
OKLCHoklch(44.78% 0.159 276.2)
XYZxyz(11.5614, 8.2814, 39.0116)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145AA #AAA641
analogous
#4179AA #4145AA #7141AA
triadic
#4145AA #AA4145 #45AA41
tetradic
#4145AA #AA4179 #AAA641 #41AA71
square
#4145AA #AA4179 #AAA641 #41AA71
split-complementary
#4145AA #AA7141 #79AA41
monochromatic
#1F2151 #30337E #4145AA #6468C4 #9193D5

Accessibility & contrast

On white

7.91
#4145AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4145AA#FFFFFF#000000##FFFFFF
##4145AA1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4145aa;
/* rgb */ color: rgb(65, 69, 170);
/* oklch */ color: oklch(44.8% 0.159 276.2);
Tailwind
colors: {
  custom: {
    50: '#8178c4',
    500: '#4145aa',
    950: '#000000',
  },
}
SCSS
$custom: #4145aa;
$custom-light: #8178c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4145aa",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 237.714,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.15867,
    "h": 276.2
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#4145AA
secondary
#C0BE87
accent
#CF53D4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4145AA

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

Preview Lab → · Contrast checker → · Palette generator →

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