#2A379A#2A379A

#2A379A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.160 H 271.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2A379A
RGBrgb(42, 55, 154)
HSLhsl(233, 57%, 38%)
HSVhsv(233, 73%, 60%)
CMYKcmyk(72.7%, 64.3%, 0%, 39.6%)
CIE-LABlab(28.27, 29.70, -55.55)
CIE-LCHlch(28.27, 62.99, 298.13°)
OKLaboklab(39.34% 0.0031 -0.1604)
OKLCHoklch(39.34% 0.16 271.1)
XYZxyz(8.1518, 5.5569, 31.2086)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A379A #9A8D2A
analogous
#2A6F9A #2A379A #552A9A
triadic
#2A379A #9A2A37 #379A2A
tetradic
#2A379A #9A2A6F #9A8D2A #2A9A55
square
#2A379A #9A2A6F #9A8D2A #2A9A55
split-complementary
#2A379A #9A552A #6F9A2A
monochromatic
#10153A #1D266A #2A379A #3849C9 #6875D6

Accessibility & contrast

On white

9.95
#2A379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A379A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A379A#FFFFFF#000000##FFFFFF
##2A379A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a379a;
/* rgb */ color: rgb(42, 55, 154);
/* oklch */ color: oklch(39.3% 0.160 271.1);
Tailwind
colors: {
  custom: {
    50: '#746db9',
    500: '#2a379a',
    950: '#000000',
  },
}
SCSS
$custom: #2a379a;
$custom-light: #746db9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a379a",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 233.036,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39342,
    "c": 0.16047,
    "h": 271.1
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#2A379A
secondary
#BCB263
accent
#CF47E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A379A

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

Preview Lab → · Contrast checker → · Palette generator →

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