#2A378D#2A378D

#2A378D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.142 H 271.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2A378D
RGBrgb(42, 55, 141)
HSLhsl(232, 54%, 36%)
HSVhsv(232, 70%, 55%)
CMYKcmyk(70.2%, 61%, 0%, 44.7%)
CIE-LABlab(27.15, 24.85, -49.38)
CIE-LCHlch(27.15, 55.29, 296.72°)
OKLaboklab(38.17% 0.0034 -0.1424)
OKLCHoklch(38.17% 0.142 271.4)
XYZxyz(7.1271, 5.1470, 25.8120)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A378D #8D802A
analogous
#2A688D #2A378D #4E2A8D
triadic
#2A378D #8D2A37 #378D2A
tetradic
#2A378D #8D2A68 #8D802A #2A8D4E
square
#2A378D #8D2A68 #8D802A #2A8D4E
split-complementary
#2A378D #8D4E2A #688D2A
monochromatic
#0E122F #1C255E #2A378D #3849BC #6170D0

Accessibility & contrast

On white

10.35
#2A378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A378D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A378D#FFFFFF#000000##FFFFFF
##2A378D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a378d;
/* rgb */ color: rgb(42, 55, 141);
/* oklch */ color: oklch(38.2% 0.142 271.4);
Tailwind
colors: {
  custom: {
    50: '#716daf',
    500: '#2a378d',
    950: '#000000',
  },
}
SCSS
$custom: #2a378d;
$custom-light: #716daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a378d",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 232.121,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3817,
    "c": 0.1424,
    "h": 271.4
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#2A378D
secondary
#B6AA5D
accent
#CA4ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2A378D

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

Preview Lab → · Contrast checker → · Palette generator →

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