#2A244D#2A244D

#2A244D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.073 H 287.7°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#2A244D
RGBrgb(42, 36, 77)
HSLhsl(249, 36%, 22%)
HSVhsv(249, 53%, 30%)
CMYKcmyk(45.5%, 53.2%, 0%, 69.8%)
CIE-LABlab(16.94, 14.70, -24.48)
CIE-LCHlch(16.94, 28.56, 300.99°)
OKLaboklab(28.99% 0.0221 -0.0693)
OKLCHoklch(28.99% 0.073 287.7)
XYZxyz(2.9249, 2.2897, 7.3076)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A244D #474D24
analogous
#24334D #2A244D #3F244D
triadic
#2A244D #4D2A24 #244D2A
tetradic
#2A244D #4D2433 #474D24 #244D3F
square
#2A244D #4D2433 #474D24 #244D3F
split-complementary
#2A244D #4D3F24 #334D24
monochromatic
#0B0A15 #131123 #2A244D #413777 #574BA0

Accessibility & contrast

On white

14.40
#2A244D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2A244D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A244D
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A244D#FFFFFF#000000##FFFFFF
##2A244D1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4E
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#202C34
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a244d;
/* rgb */ color: rgb(42, 36, 77);
/* oklch */ color: oklch(29.0% 0.073 287.7);
Tailwind
colors: {
  custom: {
    50: '#665e7f',
    500: '#2a244d',
    950: '#000000',
  },
}
SCSS
$custom: #2a244d;
$custom-light: #665e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a244d",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 77
  },
  "hsl": {
    "h": 248.78,
    "s": 36.283,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28986,
    "c": 0.07278,
    "h": 287.7
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#2A244D
secondary
#79804C
accent
#CC5CBC
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2A244D

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

Preview Lab → · Contrast checker → · Palette generator →

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