#2A2C91#2A2C91

#2A2C91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.162 H 274.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2A2C91
RGBrgb(42, 44, 145)
HSLhsl(239, 55%, 37%)
HSVhsv(239, 71%, 57%)
CMYKcmyk(71%, 69.7%, 0%, 43.1%)
CIE-LABlab(24.76, 33.56, -55.77)
CIE-LCHlch(24.76, 65.09, 301.03°)
OKLaboklab(36.53% 0.0115 -0.1612)
OKLCHoklch(36.53% 0.162 274.1)
XYZxyz(6.9647, 4.3373, 27.2527)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C91 #918F2A
analogous
#2A6091 #2A2C91 #5C2A91
triadic
#2A2C91 #912A2C #2C912A
tetradic
#2A2C91 #912A60 #918F2A #2A915C
square
#2A2C91 #912A60 #918F2A #2A915C
split-complementary
#2A2C91 #915C2A #60912A
monochromatic
#0F0F32 #1C1E62 #2A2C91 #383AC0 #6366D2

Accessibility & contrast

On white

11.24
#2A2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C91
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C91#FFFFFF#000000##FFFFFF
##2A2C911.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a2c91;
/* rgb */ color: rgb(42, 44, 145);
/* oklch */ color: oklch(36.5% 0.162 274.1);
Tailwind
colors: {
  custom: {
    50: '#7366b2',
    500: '#2a2c91',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c91;
$custom-light: #7366b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c91",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 238.835,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36528,
    "c": 0.16157,
    "h": 274.1
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#2A2C91
secondary
#B8B65F
accent
#DC49DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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