#4145AC#4145AC

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

Color values

HEX#4145AC
RGBrgb(65, 69, 172)
HSLhsl(238, 45%, 46%)
HSVhsv(238, 62%, 67%)
CMYKcmyk(62.2%, 59.9%, 0%, 32.5%)
CIE-LABlab(34.72, 30.49, -55.82)
CIE-LCHlch(34.72, 63.60, 298.64°)
OKLaboklab(44.95% 0.0171 -0.1605)
OKLCHoklch(44.95% 0.161 276.1)
XYZxyz(11.7521, 8.3577, 40.0156)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145AC #ACA841
analogous
#417BAC #4145AC #7341AC
triadic
#4145AC #AC4145 #45AC41
tetradic
#4145AC #AC417B #ACA841 #41AC73
square
#4145AC #AC417B #ACA841 #41AC73
split-complementary
#4145AC #AC7341 #7BAC41
monochromatic
#1F2153 #303380 #4145AC #6569C5 #9294D6

Accessibility & contrast

On white

7.86
#4145AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4145AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4145AC#FFFFFF#000000##FFFFFF
##4145AC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4145ac;
/* rgb */ color: rgb(65, 69, 172);
/* oklch */ color: oklch(44.9% 0.161 276.1);
Tailwind
colors: {
  custom: {
    50: '#8178c5',
    500: '#4145ac',
    950: '#000000',
  },
}
SCSS
$custom: #4145ac;
$custom-light: #8178c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4145ac",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 237.757,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.16143,
    "h": 276.1
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4145AC

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

Preview Lab → · Contrast checker → · Palette generator →

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