#2440AE#2440AE

#2440AE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.178 H 267.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2440AE
RGBrgb(36, 64, 174)
HSLhsl(228, 66%, 41%)
HSVhsv(228, 79%, 68%)
CMYKcmyk(79.3%, 63.2%, 0%, 31.8%)
CIE-LABlab(32.03, 30.58, -61.47)
CIE-LCHlch(32.03, 68.65, 296.45°)
OKLaboklab(42.58% -0.0091 -0.1778)
OKLCHoklch(42.58% 0.178 267.1)
XYZxyz(10.1983, 7.0967, 40.8685)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2440AE #AE9224
analogous
#2485AE #2440AE #4D24AE
triadic
#2440AE #AE2440 #40AE24
tetradic
#2440AE #AE2485 #AE9224 #24AE4D
square
#2440AE #AE2485 #AE9224 #24AE4D
split-complementary
#2440AE #AE4D24 #85AE24
monochromatic
#0F1B49 #1A2D7B #2440AE #3959D6 #6C84E1

Accessibility & contrast

On white

8.68
#2440AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2440AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2440AE
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2440AE#FFFFFF#000000##FFFFFF
##2440AE1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2440ae;
/* rgb */ color: rgb(36, 64, 174);
/* oklch */ color: oklch(42.6% 0.178 267.1);
Tailwind
colors: {
  custom: {
    50: '#7674c7',
    500: '#2440ae',
    950: '#000000',
  },
}
SCSS
$custom: #2440ae;
$custom-light: #7674c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2440ae",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 227.826,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.17805,
    "h": 267.1
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#2440AE
secondary
#C7B367
accent
#C63FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2440AE

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

Preview Lab → · Contrast checker → · Palette generator →

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