#2A2C92#2A2C92

#2A2C92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.163 H 274.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2A2C92
RGBrgb(42, 44, 146)
HSLhsl(239, 55%, 37%)
HSVhsv(239, 71%, 57%)
CMYKcmyk(71.2%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.85, 33.91, -56.23)
CIE-LCHlch(24.85, 65.66, 301.09°)
OKLaboklab(36.63% 0.0114 -0.1625)
OKLCHoklch(36.63% 0.163 274)
XYZxyz(7.0421, 4.3683, 27.6606)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C92 #92902A
analogous
#2A6092 #2A2C92 #5C2A92
triadic
#2A2C92 #922A2C #2C922A
tetradic
#2A2C92 #922A60 #92902A #2A925C
square
#2A2C92 #922A60 #92902A #2A925C
split-complementary
#2A2C92 #925C2A #60922A
monochromatic
#0F0F33 #1C1E62 #2A2C92 #383AC2 #6466D2

Accessibility & contrast

On white

11.21
#2A2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2C92
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C92#FFFFFF#000000##FFFFFF
##2A2C921.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a2c92;
/* rgb */ color: rgb(42, 44, 146);
/* oklch */ color: oklch(36.6% 0.163 274.0);
Tailwind
colors: {
  custom: {
    50: '#7366b3',
    500: '#2a2c92',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c92;
$custom-light: #7366b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c92",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 238.846,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36627,
    "c": 0.1629,
    "h": 274
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#2A2C92
secondary
#B8B75F
accent
#DC49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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