#2A244F#2A244F

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

Color values

HEX#2A244F
RGBrgb(42, 36, 79)
HSLhsl(248, 37%, 23%)
HSVhsv(248, 54%, 31%)
CMYKcmyk(46.8%, 54.4%, 0%, 69%)
CIE-LABlab(17.08, 15.38, -25.63)
CIE-LCHlch(17.08, 29.89, 300.98°)
OKLaboklab(29.13% 0.0223 -0.0727)
OKLCHoklch(29.13% 0.076 287.1)
XYZxyz(2.9966, 2.3184, 7.6852)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A244F #494F24
analogous
#24344F #2A244F #3F244F
triadic
#2A244F #4F2A24 #244F2A
tetradic
#2A244F #4F2434 #494F24 #244F3F
square
#2A244F #4F2434 #494F24 #244F3F
split-complementary
#2A244F #4F3F24 #344F24
monochromatic
#0B0A15 #141125 #2A244F #403779 #574AA3

Accessibility & contrast

On white

14.35
#2A244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A244F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A244F#FFFFFF#000000##FFFFFF
##2A244F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#12294E
Tritanopia (blue-blind)
#1F2D35
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a244f;
/* rgb */ color: rgb(42, 36, 79);
/* oklch */ color: oklch(29.1% 0.076 287.1);
Tailwind
colors: {
  custom: {
    50: '#665e80',
    500: '#2a244f',
    950: '#000000',
  },
}
SCSS
$custom: #2a244f;
$custom-light: #665e80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a244f",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 248.372,
    "s": 37.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29133,
    "c": 0.07604,
    "h": 287.1
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#2A244F
secondary
#7B824C
accent
#CD5ABD
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2A244F

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

Preview Lab → · Contrast checker → · Palette generator →

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