#2A244A#2A244A

#2A244A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.068 H 288.6°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#2A244A
RGBrgb(42, 36, 74)
HSLhsl(249, 35%, 22%)
HSVhsv(249, 51%, 29%)
CMYKcmyk(43.2%, 51.4%, 0%, 71%)
CIE-LABlab(16.74, 13.69, -22.76)
CIE-LCHlch(16.74, 26.56, 301.04°)
OKLaboklab(28.77% 0.0217 -0.0643)
OKLCHoklch(28.77% 0.068 288.6)
XYZxyz(2.8214, 2.2483, 6.7626)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A244A #444A24
analogous
#24314A #2A244A #3D244A
triadic
#2A244A #4A2A24 #244A2A
tetradic
#2A244A #4A2431 #444A24 #244A3D
square
#2A244A #4A2431 #444A24 #244A3D
split-complementary
#2A244A #4A3D24 #314A24
monochromatic
#0C0A15 #131021 #2A244A #413873 #594C9C

Accessibility & contrast

On white

14.49
#2A244A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2A244A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A244A
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A244A#FFFFFF#000000##FFFFFF
##2A244A1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4B
Deuteranopia (green-blind)
#162849
Tritanopia (blue-blind)
#212C33
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a244a;
/* rgb */ color: rgb(42, 36, 74);
/* oklch */ color: oklch(28.8% 0.068 288.6);
Tailwind
colors: {
  custom: {
    50: '#655e7d',
    500: '#2a244a',
    950: '#000000',
  },
}
SCSS
$custom: #2a244a;
$custom-light: #655e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a244a",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 74
  },
  "hsl": {
    "h": 249.474,
    "s": 34.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28771,
    "c": 0.06784,
    "h": 288.6
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#2A244A
secondary
#767D4D
accent
#CB5DB9
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2A244A

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

Preview Lab → · Contrast checker → · Palette generator →

#2A244A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva