#2440A7#2440A7

#2440A7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.169 H 266.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2440A7
RGBrgb(36, 64, 167)
HSLhsl(227, 65%, 40%)
HSVhsv(227, 78%, 65%)
CMYKcmyk(78.4%, 61.7%, 0%, 34.5%)
CIE-LABlab(31.42, 27.92, -58.27)
CIE-LCHlch(31.42, 64.62, 295.60°)
OKLaboklab(41.94% -0.009 -0.1685)
OKLCHoklch(41.94% 0.169 266.9)
XYZxyz(9.5336, 6.8308, 37.3677)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2440A7 #A78B24
analogous
#2481A7 #2440A7 #4A24A7
triadic
#2440A7 #A72440 #40A724
tetradic
#2440A7 #A72481 #A78B24 #24A74A
square
#2440A7 #A72481 #A78B24 #24A74A
split-complementary
#2440A7 #A74A24 #81A724
monochromatic
#0E1942 #192D75 #2440A7 #3557D3 #6781DE

Accessibility & contrast

On white

8.87
#2440A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2440A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2440A7
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2440A7#FFFFFF#000000##FFFFFF
##2440A71.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2440a7;
/* rgb */ color: rgb(36, 64, 167);
/* oklch */ color: oklch(41.9% 0.169 266.9);
Tailwind
colors: {
  custom: {
    50: '#7474c2',
    500: '#2440a7',
    950: '#000000',
  },
}
SCSS
$custom: #2440a7;
$custom-light: #7474c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2440a7",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 167
  },
  "hsl": {
    "h": 227.176,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.1687,
    "h": 266.9
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#2440A7
secondary
#C4AF63
accent
#C440E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2440A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2440A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva