#2A244E#2A244E

#2A244E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.074 H 287.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#2A244E
RGBrgb(42, 36, 78)
HSLhsl(249, 37%, 22%)
HSVhsv(249, 54%, 31%)
CMYKcmyk(46.2%, 53.8%, 0%, 69.4%)
CIE-LABlab(17.01, 15.04, -25.06)
CIE-LCHlch(17.01, 29.23, 300.98°)
OKLaboklab(29.06% 0.0222 -0.071)
OKLCHoklch(29.06% 0.074 287.4)
XYZxyz(2.9605, 2.3039, 7.4950)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A244E #484E24
analogous
#24334E #2A244E #3F244E
triadic
#2A244E #4E2A24 #244E2A
tetradic
#2A244E #4E2433 #484E24 #244E3F
square
#2A244E #4E2433 #484E24 #244E3F
split-complementary
#2A244E #4E3F24 #334E24
monochromatic
#0B0A15 #131124 #2A244E #413778 #574BA2

Accessibility & contrast

On white

14.38
#2A244E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A244E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A244E#FFFFFF#000000##FFFFFF
##2A244E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B50
Deuteranopia (green-blind)
#13294D
Tritanopia (blue-blind)
#202D35
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a244e;
/* rgb */ color: rgb(42, 36, 78);
/* oklch */ color: oklch(29.1% 0.074 287.4);
Tailwind
colors: {
  custom: {
    50: '#665e80',
    500: '#2a244e',
    950: '#000000',
  },
}
SCSS
$custom: #2a244e;
$custom-light: #665e80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a244e",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 78
  },
  "hsl": {
    "h": 248.571,
    "s": 36.842,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29059,
    "c": 0.07441,
    "h": 287.4
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#2A244E
secondary
#7A814C
accent
#CD5BBD
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2A244E

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

Preview Lab → · Contrast checker → · Palette generator →

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