#2A4378#2A4378

#2A4378 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.095 H 263.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2A4378
RGBrgb(42, 67, 120)
HSLhsl(221, 48%, 32%)
HSVhsv(221, 65%, 47%)
CMYKcmyk(65%, 44.2%, 0%, 52.9%)
CIE-LABlab(29.06, 8.66, -33.21)
CIE-LCHlch(29.06, 34.32, 284.62°)
OKLaboklab(39.13% -0.0106 -0.0946)
OKLCHoklch(39.13% 0.095 263.6)
XYZxyz(6.3510, 5.8620, 18.5625)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4378 #785F2A
analogous
#2A6A78 #2A4378 #382A78
triadic
#2A4378 #782A43 #43782A
tetradic
#2A4378 #782A6A #785F2A #2A7838
square
#2A4378 #782A6A #785F2A #2A7838
split-complementary
#2A4378 #78382A #6A782A
monochromatic
#0A101D #1A2A4B #2A4378 #3A5CA5 #587BC5

Accessibility & contrast

On white

9.67
#2A4378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A4378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4378
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4378#FFFFFF#000000##FFFFFF
##2A43781.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B487A
Deuteranopia (green-blind)
#1F4177
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4378;
/* rgb */ color: rgb(42, 67, 120);
/* oklch */ color: oklch(39.1% 0.095 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c769f',
    500: '#2a4378',
    950: '#000000',
  },
}
SCSS
$custom: #2a4378;
$custom-light: #6c769f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4378",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 220.769,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39134,
    "c": 0.09521,
    "h": 263.6
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#2A4378
secondary
#AA8E54
accent
#AC50D8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4378

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

Preview Lab → · Contrast checker → · Palette generator →

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