#40439F#40439F

#40439F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.146 H 277.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#40439F
RGBrgb(64, 67, 159)
HSLhsl(238, 43%, 44%)
HSVhsv(238, 60%, 62%)
CMYKcmyk(59.7%, 57.9%, 0%, 37.6%)
CIE-LABlab(33.15, 27.12, -50.57)
CIE-LCHlch(33.15, 57.38, 298.21°)
OKLaboklab(43.45% 0.0179 -0.1451)
OKLCHoklch(43.45% 0.146 277)
XYZxyz(10.3775, 7.6067, 33.7156)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40439F #9F9C40
analogous
#40729F #40439F #6C409F
triadic
#40439F #9F4043 #439F40
tetradic
#40439F #9F4072 #9F9C40 #409F6C
square
#40439F #9F4072 #9F9C40 #409F6C
split-complementary
#40439F #9F6C40 #729F40
monochromatic
#1D1E48 #2E3173 #40439F #5E61BE #8A8CD0

Accessibility & contrast

On white

8.33
#40439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#40439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40439F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40439F#FFFFFF#000000##FFFFFF
##40439F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #40439f;
/* rgb */ color: rgb(64, 67, 159);
/* oklch */ color: oklch(43.5% 0.146 277.0);
Tailwind
colors: {
  custom: {
    50: '#7e77bc',
    500: '#40439f',
    950: '#000000',
  },
}
SCSS
$custom: #40439f;
$custom-light: #7e77bc;
$custom-dark: #000000;
JSON
{
  "hex": "#40439f",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 238.105,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43454,
    "c": 0.14623,
    "h": 277
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#40439F
secondary
#BBB980
accent
#CE55D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #40439F

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

Preview Lab → · Contrast checker → · Palette generator →

#40439F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva