#2A4373#2A4373

#2A4373 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.088 H 262.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2A4373
RGBrgb(42, 67, 115)
HSLhsl(219, 46%, 31%)
HSVhsv(219, 63%, 45%)
CMYKcmyk(63.5%, 41.7%, 0%, 54.9%)
CIE-LABlab(28.76, 6.78, -30.54)
CIE-LCHlch(28.76, 31.28, 282.52°)
OKLaboklab(38.8% -0.0118 -0.0868)
OKLCHoklch(38.8% 0.088 262.3)
XYZxyz(6.0554, 5.7438, 17.0059)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4373 #735A2A
analogous
#2A6773 #2A4373 #352A73
triadic
#2A4373 #732A43 #43732A
tetradic
#2A4373 #732A67 #735A2A #2A7335
square
#2A4373 #732A67 #735A2A #2A7335
split-complementary
#2A4373 #73352A #67732A
monochromatic
#090F19 #1A2946 #2A4373 #3A5DA0 #567BC1

Accessibility & contrast

On white

9.77
#2A4373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4373
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4373#FFFFFF#000000##FFFFFF
##2A43731.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4775
Deuteranopia (green-blind)
#244172
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4373;
/* rgb */ color: rgb(42, 67, 115);
/* oklch */ color: oklch(38.8% 0.088 262.3);
Tailwind
colors: {
  custom: {
    50: '#6b769b',
    500: '#2a4373',
    950: '#000000',
  },
}
SCSS
$custom: #2a4373;
$custom-light: #6b769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4373",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 115
  },
  "hsl": {
    "h": 219.452,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38799,
    "c": 0.08759,
    "h": 262.3
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#2A4373
secondary
#A58954
accent
#A952D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4373

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

Preview Lab → · Contrast checker → · Palette generator →

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