#2A4672#2A4672

#2A4672 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.082 H 259.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2A4672
RGBrgb(42, 70, 114)
HSLhsl(217, 46%, 31%)
HSVhsv(217, 63%, 45%)
CMYKcmyk(63.2%, 38.6%, 0%, 55.3%)
CIE-LABlab(29.63, 4.39, -28.52)
CIE-LCHlch(29.63, 28.86, 278.74°)
OKLaboklab(39.46% -0.0156 -0.0809)
OKLCHoklch(39.46% 0.082 259.1)
XYZxyz(6.1812, 6.0869, 16.7655)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4672 #72562A
analogous
#2A6A72 #2A4672 #322A72
triadic
#2A4672 #722A46 #46722A
tetradic
#2A4672 #722A6A #72562A #2A7232
square
#2A4672 #722A6A #72562A #2A7232
split-complementary
#2A4672 #72322A #6A722A
monochromatic
#090F19 #1A2B45 #2A4672 #3A619F #567FC1

Accessibility & contrast

On white

9.47
#2A4672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A4672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4672
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4672#FFFFFF#000000##FFFFFF
##2A46721.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4672;
/* rgb */ color: rgb(42, 70, 114);
/* oklch */ color: oklch(39.5% 0.082 259.1);
Tailwind
colors: {
  custom: {
    50: '#6b799b',
    500: '#2a4672',
    950: '#000000',
  },
}
SCSS
$custom: #2a4672;
$custom-light: #6b799b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4672",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 216.667,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.08234,
    "h": 259.1
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#2A4672
secondary
#A48554
accent
#A352D6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2A4672

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

Preview Lab → · Contrast checker → · Palette generator →

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