#2440A5#2440A5

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

Color values

HEX#2440A5
RGBrgb(36, 64, 165)
HSLhsl(227, 64%, 39%)
HSVhsv(227, 78%, 65%)
CMYKcmyk(78.2%, 61.2%, 0%, 35.3%)
CIE-LABlab(31.25, 27.16, -57.35)
CIE-LCHlch(31.25, 63.45, 295.34°)
OKLaboklab(41.76% -0.0091 -0.1657)
OKLCHoklch(41.76% 0.166 266.9)
XYZxyz(9.3501, 6.7574, 36.4015)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2440A5 #A58924
analogous
#2481A5 #2440A5 #4924A5
triadic
#2440A5 #A52440 #40A524
tetradic
#2440A5 #A52481 #A58924 #24A549
square
#2440A5 #A52481 #A58924 #24A549
split-complementary
#2440A5 #A54924 #81A524
monochromatic
#0E1941 #192D73 #2440A5 #3456D3 #6680DE

Accessibility & contrast

On white

8.93
#2440A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2440A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2440A5
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2440A5#FFFFFF#000000##FFFFFF
##2440A51.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2440a5;
/* rgb */ color: rgb(36, 64, 165);
/* oklch */ color: oklch(41.8% 0.166 266.9);
Tailwind
colors: {
  custom: {
    50: '#7474c1',
    500: '#2440a5',
    950: '#000000',
  },
}
SCSS
$custom: #2440a5;
$custom-light: #7474c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2440a5",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 226.977,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41763,
    "c": 0.166,
    "h": 266.9
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#2440A5
secondary
#C3AE62
accent
#C341E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2440A5

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

Preview Lab → · Contrast checker → · Palette generator →

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