#2A4374#2A4374

#2A4374 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.089 H 262.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2A4374
RGBrgb(42, 67, 116)
HSLhsl(220, 47%, 31%)
HSVhsv(220, 64%, 45%)
CMYKcmyk(63.8%, 42.2%, 0%, 54.5%)
CIE-LABlab(28.82, 7.16, -31.08)
CIE-LCHlch(28.82, 31.89, 282.97°)
OKLaboklab(38.87% -0.0115 -0.0884)
OKLCHoklch(38.87% 0.089 262.6)
XYZxyz(6.1133, 5.7670, 17.3106)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4374 #745B2A
analogous
#2A6874 #2A4374 #362A74
triadic
#2A4374 #742A43 #43742A
tetradic
#2A4374 #742A68 #745B2A #2A7436
square
#2A4374 #742A68 #745B2A #2A7436
split-complementary
#2A4374 #74362A #68742A
monochromatic
#090F1A #1A2947 #2A4374 #3A5DA1 #567BC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4374#FFFFFF#000000##FFFFFF
##2A43741.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)
#2E4876
Deuteranopia (green-blind)
#234173
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4374;
/* rgb */ color: rgb(42, 67, 116);
/* oklch */ color: oklch(38.9% 0.089 262.6);
Tailwind
colors: {
  custom: {
    50: '#6b769c',
    500: '#2a4374',
    950: '#000000',
  },
}
SCSS
$custom: #2a4374;
$custom-light: #6b769c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4374",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 219.73,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38865,
    "c": 0.08912,
    "h": 262.6
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#2A4374
secondary
#A68A54
accent
#A951D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4374

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

Preview Lab → · Contrast checker → · Palette generator →

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