#2A379C#2A379C

#2A379C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.163 H 271.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2A379C
RGBrgb(42, 55, 156)
HSLhsl(233, 58%, 39%)
HSVhsv(233, 73%, 61%)
CMYKcmyk(73.1%, 64.7%, 0%, 38.8%)
CIE-LABlab(28.44, 30.44, -56.47)
CIE-LCHlch(28.44, 64.15, 298.32°)
OKLaboklab(39.53% 0.003 -0.1632)
OKLCHoklch(39.53% 0.163 271)
XYZxyz(8.3197, 5.6241, 32.0931)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A379C #9C8F2A
analogous
#2A709C #2A379C #562A9C
triadic
#2A379C #9C2A37 #379C2A
tetradic
#2A379C #9C2A70 #9C8F2A #2A9C56
square
#2A379C #9C2A70 #9C8F2A #2A9C56
split-complementary
#2A379C #9C562A #709C2A
monochromatic
#10153C #1D266C #2A379C #394ACA #6A76D7

Accessibility & contrast

On white

9.88
#2A379C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2A379C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A379C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A379C#FFFFFF#000000##FFFFFF
##2A379C1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a379c;
/* rgb */ color: rgb(42, 55, 156);
/* oklch */ color: oklch(39.5% 0.163 271.0);
Tailwind
colors: {
  custom: {
    50: '#746eba',
    500: '#2a379c',
    950: '#000000',
  },
}
SCSS
$custom: #2a379c;
$custom-light: #746eba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a379c",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 156
  },
  "hsl": {
    "h": 233.158,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39527,
    "c": 0.16319,
    "h": 271
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#2A379C
secondary
#BDB365
accent
#CF47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2A379C

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

Preview Lab → · Contrast checker → · Palette generator →

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