#2A264B#2A264B

#2A264B is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.066 H 286.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#2A264B
RGBrgb(42, 38, 75)
HSLhsl(246, 33%, 22%)
HSVhsv(246, 49%, 29%)
CMYKcmyk(44%, 49.3%, 0%, 70.6%)
CIE-LABlab(17.40, 12.60, -22.39)
CIE-LCHlch(17.40, 25.70, 299.37°)
OKLaboklab(29.29% 0.0188 -0.0632)
OKLCHoklch(29.29% 0.066 286.5)
XYZxyz(2.9176, 2.3864, 6.9621)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A264B #474B26
analogous
#26354B #2A264B #3D264B
triadic
#2A264B #4B2A26 #264B2A
tetradic
#2A264B #4B2635 #474B26 #264B3D
square
#2A264B #4B2635 #474B26 #264B3D
split-complementary
#2A264B #4B3D26 #354B26
monochromatic
#0B0A14 #131122 #2A264B #413B74 #574F9C

Accessibility & contrast

On white

14.22
#2A264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A264B
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A264B#FFFFFF#000000##FFFFFF
##2A264B1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4C
Deuteranopia (green-blind)
#182A4A
Tritanopia (blue-blind)
#212D34
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a264b;
/* rgb */ color: rgb(42, 38, 75);
/* oklch */ color: oklch(29.3% 0.066 286.5);
Tailwind
colors: {
  custom: {
    50: '#65607d',
    500: '#2a264b',
    950: '#000000',
  },
}
SCSS
$custom: #2a264b;
$custom-light: #65607d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a264b",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 246.486,
    "s": 32.743,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29288,
    "c": 0.06594,
    "h": 286.5
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#2A264B
secondary
#797E4F
accent
#C95FBD
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2A264B

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

Preview Lab → · Contrast checker → · Palette generator →

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