#2440B0#2440B0

#2440B0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.181 H 267.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2440B0
RGBrgb(36, 64, 176)
HSLhsl(228, 66%, 42%)
HSVhsv(228, 80%, 69%)
CMYKcmyk(79.5%, 63.6%, 0%, 31%)
CIE-LABlab(32.20, 31.34, -62.37)
CIE-LCHlch(32.20, 69.80, 296.68°)
OKLaboklab(42.77% -0.0091 -0.1805)
OKLCHoklch(42.77% 0.181 267.1)
XYZxyz(10.3947, 7.1752, 41.9030)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2440B0 #B09424
analogous
#2486B0 #2440B0 #4E24B0
triadic
#2440B0 #B02440 #40B024
tetradic
#2440B0 #B02486 #B09424 #24B04E
square
#2440B0 #B02486 #B09424 #24B04E
split-complementary
#2440B0 #B04E24 #86B024
monochromatic
#0F1B4A #1A2E7D #2440B0 #3A5AD7 #6D84E1

Accessibility & contrast

On white

8.62
#2440B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2440B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2440B0
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2440B0#FFFFFF#000000##FFFFFF
##2440B01.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2440b0;
/* rgb */ color: rgb(36, 64, 176);
/* oklch */ color: oklch(42.8% 0.181 267.1);
Tailwind
colors: {
  custom: {
    50: '#7774c9',
    500: '#2440b0',
    950: '#000000',
  },
}
SCSS
$custom: #2440b0;
$custom-light: #7774c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2440b0",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 228,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42765,
    "c": 0.1807,
    "h": 267.1
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#2440B0
secondary
#C8B468
accent
#C73FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2440B0

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

Preview Lab → · Contrast checker → · Palette generator →

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