#2440A2#2440A2

#2440A2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.162 H 266.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2440A2
RGBrgb(36, 64, 162)
HSLhsl(227, 64%, 39%)
HSVhsv(227, 78%, 64%)
CMYKcmyk(77.8%, 60.5%, 0%, 36.5%)
CIE-LABlab(31.00, 26.01, -55.95)
CIE-LCHlch(31.00, 61.70, 294.93°)
OKLaboklab(41.5% -0.0091 -0.1617)
OKLCHoklch(41.5% 0.162 266.8)
XYZxyz(9.0803, 6.6495, 34.9803)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2440A2 #A28624
analogous
#247FA2 #2440A2 #4724A2
triadic
#2440A2 #A22440 #40A224
tetradic
#2440A2 #A2247F #A28624 #24A247
square
#2440A2 #A2247F #A28624 #24A247
split-complementary
#2440A2 #A24724 #7FA224
monochromatic
#0E183E #192C70 #2440A2 #3255D1 #647FDD

Accessibility & contrast

On white

9.01
#2440A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2440A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2440A2
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2440A2#FFFFFF#000000##FFFFFF
##2440A21.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2440a2;
/* rgb */ color: rgb(36, 64, 162);
/* oklch */ color: oklch(41.5% 0.162 266.8);
Tailwind
colors: {
  custom: {
    50: '#7374be',
    500: '#2440a2',
    950: '#000000',
  },
}
SCSS
$custom: #2440a2;
$custom-light: #7374be;
$custom-dark: #000000;
JSON
{
  "hex": "#2440a2",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 226.667,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.16192,
    "h": 266.8
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#2440A2
secondary
#C2AC60
accent
#C241E7
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2440A2

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

Preview Lab → · Contrast checker → · Palette generator →

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