#2A2B59#2A2B59

#2A2B59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.081 H 279.7°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#2A2B59
RGBrgb(42, 43, 89)
HSLhsl(239, 36%, 26%)
HSVhsv(239, 53%, 35%)
CMYKcmyk(52.8%, 51.7%, 0%, 65.1%)
CIE-LABlab(19.81, 13.91, -27.97)
CIE-LCHlch(19.81, 31.24, 296.44°)
OKLaboklab(31.41% 0.0137 -0.0795)
OKLCHoklch(31.41% 0.081 279.7)
XYZxyz(3.6213, 2.9411, 9.8261)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B59 #59582A
analogous
#2A4259 #2A2B59 #402A59
triadic
#2A2B59 #592A2B #2B592A
tetradic
#2A2B59 #592A42 #59582A #2A5940
square
#2A2B59 #592A42 #59582A #2A5940
split-complementary
#2A2B59 #59402A #42592A
monochromatic
#0A0A15 #16172F #2A2B59 #3E3F83 #5153AC

Accessibility & contrast

On white

13.22
#2A2B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2A2B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B59
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B59#FFFFFF#000000##FFFFFF
##2A2B591.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17325B
Deuteranopia (green-blind)
#132E58
Tritanopia (blue-blind)
#18353D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a2b59;
/* rgb */ color: rgb(42, 43, 89);
/* oklch */ color: oklch(31.4% 0.081 279.7);
Tailwind
colors: {
  custom: {
    50: '#676488',
    500: '#2a2b59',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b59;
$custom-light: #676488;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b59",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 238.723,
    "s": 35.878,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3141,
    "c": 0.08069,
    "h": 279.7
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#2A2B59
secondary
#8B8A53
accent
#CA5CCC
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #2A2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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