#2A244C#2A244C

#2A244C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.071 H 288.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#2A244C
RGBrgb(42, 36, 76)
HSLhsl(249, 36%, 22%)
HSVhsv(249, 53%, 30%)
CMYKcmyk(44.7%, 52.6%, 0%, 70.2%)
CIE-LABlab(16.87, 14.37, -23.91)
CIE-LCHlch(16.87, 27.90, 301.00°)
OKLaboklab(28.91% 0.022 -0.0677)
OKLCHoklch(28.91% 0.071 288)
XYZxyz(2.8899, 2.2757, 7.1231)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A244C #464C24
analogous
#24324C #2A244C #3E244C
triadic
#2A244C #4C2A24 #244C2A
tetradic
#2A244C #4C2432 #464C24 #244C3E
square
#2A244C #4C2432 #464C24 #244C3E
split-complementary
#2A244C #4C3E24 #324C24
monochromatic
#0B0A15 #131022 #2A244C #413876 #584B9F

Accessibility & contrast

On white

14.43
#2A244C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A244C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A244C#FFFFFF#000000##FFFFFF
##2A244C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4D
Deuteranopia (green-blind)
#14294B
Tritanopia (blue-blind)
#202C34
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a244c;
/* rgb */ color: rgb(42, 36, 76);
/* oklch */ color: oklch(28.9% 0.071 288.0);
Tailwind
colors: {
  custom: {
    50: '#665e7e',
    500: '#2a244c',
    950: '#000000',
  },
}
SCSS
$custom: #2a244c;
$custom-light: #665e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a244c",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 76
  },
  "hsl": {
    "h": 249,
    "s": 35.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28914,
    "c": 0.07114,
    "h": 288
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#2A244C
secondary
#787F4C
accent
#CC5CBB
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2A244C

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

Preview Lab → · Contrast checker → · Palette generator →

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