#2A266D#2A266D

#2A266D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.119 H 279.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#2A266D
RGBrgb(42, 38, 109)
HSLhsl(243, 48%, 29%)
HSVhsv(243, 65%, 43%)
CMYKcmyk(61.5%, 65.1%, 0%, 57.3%)
CIE-LABlab(19.97, 24.58, -40.83)
CIE-LCHlch(19.97, 47.66, 301.05°)
OKLaboklab(32.03% 0.0203 -0.1174)
OKLCHoklch(32.03% 0.119 279.8)
XYZxyz(4.4074, 2.9823, 14.8084)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A266D #696D26
analogous
#26466D #2A266D #4E266D
triadic
#2A266D #6D2A26 #266D2A
tetradic
#2A266D #6D2646 #696D26 #266D4E
square
#2A266D #6D2646 #696D26 #266D4E
split-complementary
#2A266D #6D4E26 #466D26
monochromatic
#090817 #191640 #2A266D #3B369A #534DC1

Accessibility & contrast

On white

13.15
#2A266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2A266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A266D
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A266D#FFFFFF#000000##FFFFFF
##2A266D1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#013745
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a266d;
/* rgb */ color: rgb(42, 38, 109);
/* oklch */ color: oklch(32.0% 0.119 279.8);
Tailwind
colors: {
  custom: {
    50: '#6b6097',
    500: '#2a266d',
    950: '#000000',
  },
}
SCSS
$custom: #2a266d;
$custom-light: #6b6097;
$custom-dark: #000000;
JSON
{
  "hex": "#2a266d",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 243.38,
    "s": 48.299,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32026,
    "c": 0.11911,
    "h": 279.8
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#2A266D
secondary
#9BA04F
accent
#D850D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2A266D

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

Preview Lab → · Contrast checker → · Palette generator →

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