#2440BC#2440BC

#2440BC is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.196 H 267.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2440BC
RGBrgb(36, 64, 188)
HSLhsl(229, 68%, 44%)
HSVhsv(229, 81%, 74%)
CMYKcmyk(80.9%, 66%, 0%, 26.3%)
CIE-LABlab(33.29, 35.81, -67.69)
CIE-LCHlch(33.29, 76.58, 297.88°)
OKLaboklab(43.9% -0.0095 -0.196)
OKLCHoklch(43.9% 0.196 267.2)
XYZxyz(11.6349, 7.6713, 48.4347)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2440BC #BCA024
analogous
#248CBC #2440BC #5424BC
triadic
#2440BC #BC2440 #40BC24
tetradic
#2440BC #BC248C #BCA024 #24BC54
square
#2440BC #BC248C #BCA024 #24BC54
split-complementary
#2440BC #BC5424 #8CBC24
monochromatic
#101D55 #1A2F89 #2440BC #425EDB #768AE5

Accessibility & contrast

On white

8.29
#2440BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2440BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2440BC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2440BC#FFFFFF#000000##FFFFFF
##2440BC1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2440bc;
/* rgb */ color: rgb(36, 64, 188);
/* oklch */ color: oklch(43.9% 0.196 267.2);
Tailwind
colors: {
  custom: {
    50: '#7a74d1',
    500: '#2440bc',
    950: '#000000',
  },
}
SCSS
$custom: #2440bc;
$custom-light: #7a74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2440bc",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 228.947,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.19627,
    "h": 267.2
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#2440BC
secondary
#CCBB70
accent
#CB3DEB
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2440BC

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

Preview Lab → · Contrast checker → · Palette generator →

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