#2A3C91#2A3C91

#2A3C91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.142 H 269.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2A3C91
RGBrgb(42, 60, 145)
HSLhsl(230, 55%, 37%)
HSVhsv(230, 71%, 57%)
CMYKcmyk(71%, 58.6%, 0%, 43.1%)
CIE-LABlab(28.82, 22.98, -49.14)
CIE-LCHlch(28.82, 54.24, 295.06°)
OKLaboklab(39.52% -0.0008 -0.1416)
OKLCHoklch(39.52% 0.142 269.7)
XYZxyz(7.6798, 5.7675, 27.4911)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C91 #917F2A
analogous
#2A7091 #2A3C91 #4C2A91
triadic
#2A3C91 #912A3C #3C912A
tetradic
#2A3C91 #912A70 #917F2A #2A914C
square
#2A3C91 #912A70 #917F2A #2A914C
split-complementary
#2A3C91 #914C2A #70912A
monochromatic
#0F1532 #1C2862 #2A3C91 #3850C0 #6377D2

Accessibility & contrast

On white

9.75
#2A3C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2A3C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3C91
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C91#FFFFFF#000000##FFFFFF
##2A3C911.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a3c91;
/* rgb */ color: rgb(42, 60, 145);
/* oklch */ color: oklch(39.5% 0.142 269.7);
Tailwind
colors: {
  custom: {
    50: '#7171b2',
    500: '#2a3c91',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c91;
$custom-light: #7171b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c91",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 229.515,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39515,
    "c": 0.14156,
    "h": 269.7
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#2A3C91
secondary
#B8A85F
accent
#C449DE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3C91

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

Preview Lab → · Contrast checker → · Palette generator →

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