#2A244B#2A244B

#2A244B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.069 H 288.3°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#2A244B
RGBrgb(42, 36, 75)
HSLhsl(249, 35%, 22%)
HSVhsv(249, 52%, 29%)
CMYKcmyk(44%, 52%, 0%, 70.6%)
CIE-LABlab(16.81, 14.03, -23.33)
CIE-LCHlch(16.81, 27.23, 301.02°)
OKLaboklab(28.84% 0.0218 -0.066)
OKLCHoklch(28.84% 0.069 288.3)
XYZxyz(2.8554, 2.2619, 6.9414)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A244B #454B24
analogous
#24324B #2A244B #3E244B
triadic
#2A244B #4B2A24 #244B2A
tetradic
#2A244B #4B2432 #454B24 #244B3E
square
#2A244B #4B2432 #454B24 #244B3E
split-complementary
#2A244B #4B3E24 #324B24
monochromatic
#0C0A15 #131022 #2A244B #413874 #584C9E

Accessibility & contrast

On white

14.46
#2A244B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A244B
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A244B#FFFFFF#000000##FFFFFF
##2A244B1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#15284A
Tritanopia (blue-blind)
#212C33
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a244b;
/* rgb */ color: rgb(42, 36, 75);
/* oklch */ color: oklch(28.8% 0.069 288.3);
Tailwind
colors: {
  custom: {
    50: '#665e7d',
    500: '#2a244b',
    950: '#000000',
  },
}
SCSS
$custom: #2a244b;
$custom-light: #665e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a244b",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 75
  },
  "hsl": {
    "h": 249.231,
    "s": 35.135,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28842,
    "c": 0.06949,
    "h": 288.3
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#2A244B
secondary
#777E4C
accent
#CB5DBA
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2A244B

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

Preview Lab → · Contrast checker → · Palette generator →

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