#4142A3#4142A3

#4142A3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.153 H 277.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4142A3
RGBrgb(65, 66, 163)
HSLhsl(239, 43%, 45%)
HSVhsv(239, 60%, 64%)
CMYKcmyk(60.1%, 59.5%, 0%, 36.1%)
CIE-LABlab(33.27, 29.32, -52.77)
CIE-LCHlch(33.27, 60.37, 299.06°)
OKLaboklab(43.66% 0.0201 -0.1516)
OKLCHoklch(43.66% 0.153 277.5)
XYZxyz(10.7369, 7.6638, 35.5567)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142A3 #A3A241
analogous
#4173A3 #4142A3 #7141A3
triadic
#4142A3 #A34142 #42A341
tetradic
#4142A3 #A34173 #A3A241 #41A371
square
#4142A3 #A34173 #A3A241 #41A371
split-complementary
#4142A3 #A37141 #73A341
monochromatic
#1E1F4B #303077 #4142A3 #6162C0 #8D8ED1

Accessibility & contrast

On white

8.29
#4142A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4142A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4142A3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142A3#FFFFFF#000000##FFFFFF
##4142A31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4142a3;
/* rgb */ color: rgb(65, 66, 163);
/* oklch */ color: oklch(43.7% 0.153 277.5);
Tailwind
colors: {
  custom: {
    50: '#8076bf',
    500: '#4142a3',
    950: '#000000',
  },
}
SCSS
$custom: #4142a3;
$custom-light: #8076bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4142a3",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 239.388,
    "s": 42.982,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4366,
    "c": 0.15292,
    "h": 277.5
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#4142A3
secondary
#BDBC83
accent
#D155D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #4142A3

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

Preview Lab → · Contrast checker → · Palette generator →

#4142A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva