#2A266A#2A266A

#2A266A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.8% C 0.115 H 280.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#2A266A
RGBrgb(42, 38, 106)
HSLhsl(244, 47%, 28%)
HSVhsv(244, 64%, 42%)
CMYKcmyk(60.4%, 64.2%, 0%, 58.4%)
CIE-LABlab(19.72, 23.50, -39.30)
CIE-LCHlch(19.72, 45.79, 300.88°)
OKLaboklab(31.76% 0.0204 -0.1129)
OKLCHoklch(31.76% 0.115 280.3)
XYZxyz(4.2487, 2.9188, 13.9724)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A266A #666A26
analogous
#26446A #2A266A #4C266A
triadic
#2A266A #6A2A26 #266A2A
tetradic
#2A266A #6A2644 #666A26 #266A4C
square
#2A266A #6A2644 #666A26 #266A4C
split-complementary
#2A266A #6A4C26 #446A26
monochromatic
#090817 #18163D #2A266A #3C3697 #524CBF

Accessibility & contrast

On white

13.26
#2A266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2A266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A266A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A266A#FFFFFF#000000##FFFFFF
##2A266A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#063644
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a266a;
/* rgb */ color: rgb(42, 38, 106);
/* oklch */ color: oklch(31.8% 0.115 280.3);
Tailwind
colors: {
  custom: {
    50: '#6b6095',
    500: '#2a266a',
    950: '#000000',
  },
}
SCSS
$custom: #2a266a;
$custom-light: #6b6095;
$custom-dark: #000000;
JSON
{
  "hex": "#2a266a",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 243.529,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.11472,
    "h": 280.3
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#2A266A
secondary
#989D4F
accent
#D751CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2A266A

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

Preview Lab → · Contrast checker → · Palette generator →

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