#2A2C94#2A2C94

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

Color values

HEX#2A2C94
RGBrgb(42, 44, 148)
HSLhsl(239, 56%, 37%)
HSVhsv(239, 72%, 58%)
CMYKcmyk(71.6%, 70.3%, 0%, 42%)
CIE-LABlab(25.05, 34.62, -57.14)
CIE-LCHlch(25.05, 66.81, 301.21°)
OKLaboklab(36.83% 0.0112 -0.1652)
OKLCHoklch(36.83% 0.166 273.9)
XYZxyz(7.1990, 4.4310, 28.4871)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C94 #94922A
analogous
#2A6194 #2A2C94 #5D2A94
triadic
#2A2C94 #942A2C #2C942A
tetradic
#2A2C94 #942A61 #94922A #2A945D
square
#2A2C94 #942A61 #94922A #2A945D
split-complementary
#2A2C94 #945D2A #61942A
monochromatic
#0F1035 #1C1E64 #2A2C94 #383AC4 #6567D3

Accessibility & contrast

On white

11.13
#2A2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A2C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C94
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C94#FFFFFF#000000##FFFFFF
##2A2C941.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2c94;
/* rgb */ color: rgb(42, 44, 148);
/* oklch */ color: oklch(36.8% 0.166 273.9);
Tailwind
colors: {
  custom: {
    50: '#7466b4',
    500: '#2a2c94',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c94;
$custom-light: #7466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c94",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 238.868,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36827,
    "c": 0.16555,
    "h": 273.9
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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