#2A264A#2A264A

#2A264A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.064 H 286.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#2A264A
RGBrgb(42, 38, 74)
HSLhsl(247, 32%, 22%)
HSVhsv(247, 49%, 29%)
CMYKcmyk(43.2%, 48.6%, 0%, 71%)
CIE-LABlab(17.33, 12.27, -21.81)
CIE-LCHlch(17.33, 25.03, 299.35°)
OKLaboklab(29.22% 0.0186 -0.0615)
OKLCHoklch(29.22% 0.064 286.8)
XYZxyz(2.8836, 2.3728, 6.7833)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A264A #464A26
analogous
#26344A #2A264A #3C264A
triadic
#2A264A #4A2A26 #264A2A
tetradic
#2A264A #4A2634 #464A26 #264A3C
square
#2A264A #4A2634 #464A26 #264A3C
split-complementary
#2A264A #4A3C26 #344A26
monochromatic
#0B0A14 #131122 #2A264A #413B72 #58509B

Accessibility & contrast

On white

14.24
#2A264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2A264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A264A
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A264A#FFFFFF#000000##FFFFFF
##2A264A1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4B
Deuteranopia (green-blind)
#192A49
Tritanopia (blue-blind)
#212D34
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a264a;
/* rgb */ color: rgb(42, 38, 74);
/* oklch */ color: oklch(29.2% 0.064 286.8);
Tailwind
colors: {
  custom: {
    50: '#65607d',
    500: '#2a264a',
    950: '#000000',
  },
}
SCSS
$custom: #2a264a;
$custom-light: #65607d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a264a",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 246.667,
    "s": 32.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29219,
    "c": 0.06426,
    "h": 286.8
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#2A264A
secondary
#787D4F
accent
#C85FBD
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2A264A

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

Preview Lab → · Contrast checker → · Palette generator →

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