#2A3471#2A3471

#2A3471 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.2% C 0.105 H 272.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2A3471
RGBrgb(42, 52, 113)
HSLhsl(232, 46%, 30%)
HSVhsv(232, 63%, 44%)
CMYKcmyk(62.8%, 54%, 0%, 55.7%)
CIE-LABlab(24.13, 16.38, -36.67)
CIE-LCHlch(24.13, 40.17, 294.07°)
OKLaboklab(35.22% 0.0052 -0.105)
OKLCHoklch(35.22% 0.105 272.8)
XYZxyz(5.1625, 4.1401, 16.1466)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3471 #71672A
analogous
#2A5771 #2A3471 #432A71
triadic
#2A3471 #712A34 #34712A
tetradic
#2A3471 #712A57 #71672A #2A7143
square
#2A3471 #712A57 #71672A #2A7143
split-complementary
#2A3471 #71432A #57712A
monochromatic
#090B18 #191F44 #2A3471 #3B499E #5564C0

Accessibility & contrast

On white

11.49
#2A3471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2A3471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3471
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3471#FFFFFF#000000##FFFFFF
##2A34711.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#013670
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3471;
/* rgb */ color: rgb(42, 52, 113);
/* oklch */ color: oklch(35.2% 0.105 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b6b9a',
    500: '#2a3471',
    950: '#000000',
  },
}
SCSS
$custom: #2a3471;
$custom-light: #6b6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3471",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 231.549,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35219,
    "c": 0.10514,
    "h": 272.8
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#2A3471
secondary
#A39854
accent
#C352D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A3471

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

Preview Lab → · Contrast checker → · Palette generator →

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