#2A3684#2A3684

#2A3684 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.131 H 271.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2A3684
RGBrgb(42, 54, 132)
HSLhsl(232, 52%, 34%)
HSVhsv(232, 68%, 52%)
CMYKcmyk(68.2%, 59.1%, 0%, 48.2%)
CIE-LABlab(26.15, 22.15, -45.42)
CIE-LCHlch(26.15, 50.54, 296.00°)
OKLaboklab(37.19% 0.0042 -0.1307)
OKLCHoklch(37.19% 0.131 271.8)
XYZxyz(6.4375, 4.7959, 22.4118)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3684 #84782A
analogous
#2A6384 #2A3684 #4B2A84
triadic
#2A3684 #842A36 #36842A
tetradic
#2A3684 #842A63 #84782A #2A844B
square
#2A3684 #842A63 #84782A #2A844B
split-complementary
#2A3684 #844B2A #63842A
monochromatic
#0C1027 #1B2356 #2A3684 #3949B2 #5D6CCB

Accessibility & contrast

On white

10.72
#2A3684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A3684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3684
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3684#FFFFFF#000000##FFFFFF
##2A36841.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3684;
/* rgb */ color: rgb(42, 54, 132);
/* oklch */ color: oklch(37.2% 0.131 271.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ca8',
    500: '#2a3684',
    950: '#000000',
  },
}
SCSS
$custom: #2a3684;
$custom-light: #6f6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3684",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 232,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37193,
    "c": 0.1308,
    "h": 271.8
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#2A3684
secondary
#B1A559
accent
#C84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3684

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

Preview Lab → · Contrast checker → · Palette generator →

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