#2442A2#2442A2

#2442A2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.159 H 266.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2442A2
RGBrgb(36, 66, 162)
HSLhsl(226, 64%, 39%)
HSVhsv(226, 78%, 64%)
CMYKcmyk(77.8%, 59.3%, 0%, 36.5%)
CIE-LABlab(31.53, 24.66, -55.08)
CIE-LCHlch(31.53, 60.35, 294.12°)
OKLaboklab(41.9% -0.0105 -0.1591)
OKLCHoklch(41.9% 0.159 266.2)
XYZxyz(9.1951, 6.8791, 35.0186)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2442A2 #A28424
analogous
#2481A2 #2442A2 #4524A2
triadic
#2442A2 #A22442 #42A224
tetradic
#2442A2 #A22481 #A28424 #24A245
square
#2442A2 #A22481 #A28424 #24A245
split-complementary
#2442A2 #A24524 #81A224
monochromatic
#0E193E #192E70 #2442A2 #3258D1 #6481DD

Accessibility & contrast

On white

8.84
#2442A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2442A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2442A2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2442A2#FFFFFF#000000##FFFFFF
##2442A21.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2442a2;
/* rgb */ color: rgb(36, 66, 162);
/* oklch */ color: oklch(41.9% 0.159 266.2);
Tailwind
colors: {
  custom: {
    50: '#7376be',
    500: '#2442a2',
    950: '#000000',
  },
}
SCSS
$custom: #2442a2;
$custom-light: #7376be;
$custom-dark: #000000;
JSON
{
  "hex": "#2442a2",
  "rgb": {
    "r": 36,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 225.714,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.15941,
    "h": 266.2
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#2442A2
secondary
#C2AB60
accent
#BF41E7
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2442A2

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

Preview Lab → · Contrast checker → · Palette generator →

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