#2A2C93#2A2C93

#2A2C93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.164 H 273.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2A2C93
RGBrgb(42, 44, 147)
HSLhsl(239, 56%, 37%)
HSVhsv(239, 71%, 58%)
CMYKcmyk(71.4%, 70.1%, 0%, 42.4%)
CIE-LABlab(24.95, 34.27, -56.69)
CIE-LCHlch(24.95, 66.24, 301.15°)
OKLaboklab(36.73% 0.0113 -0.1638)
OKLCHoklch(36.73% 0.164 273.9)
XYZxyz(7.1202, 4.3995, 28.0721)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C93 #93912A
analogous
#2A6193 #2A2C93 #5D2A93
triadic
#2A2C93 #932A2C #2C932A
tetradic
#2A2C93 #932A61 #93912A #2A935D
square
#2A2C93 #932A61 #93912A #2A935D
split-complementary
#2A2C93 #935D2A #61932A
monochromatic
#0F1034 #1C1E63 #2A2C93 #383AC3 #6567D3

Accessibility & contrast

On white

11.17
#2A2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A2C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C93
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C93#FFFFFF#000000##FFFFFF
##2A2C931.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a2c93;
/* rgb */ color: rgb(42, 44, 147);
/* oklch */ color: oklch(36.7% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#7366b4',
    500: '#2a2c93',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c93;
$custom-light: #7366b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c93",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 238.857,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36727,
    "c": 0.16422,
    "h": 273.9
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#2A2C93
secondary
#B9B760
accent
#DC49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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