#2A4376#2A4376

#2A4376 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.092 H 263.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2A4376
RGBrgb(42, 67, 118)
HSLhsl(220, 48%, 31%)
HSVhsv(220, 64%, 46%)
CMYKcmyk(64.4%, 43.2%, 0%, 53.7%)
CIE-LABlab(28.94, 7.91, -32.14)
CIE-LCHlch(28.94, 33.10, 283.82°)
OKLaboklab(39% -0.0111 -0.0915)
OKLCHoklch(39% 0.092 263.1)
XYZxyz(6.2309, 5.8140, 17.9299)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4376 #765D2A
analogous
#2A6976 #2A4376 #372A76
triadic
#2A4376 #762A43 #43762A
tetradic
#2A4376 #762A69 #765D2A #2A7637
square
#2A4376 #762A69 #765D2A #2A7637
split-complementary
#2A4376 #76372A #69762A
monochromatic
#0A101C #1A2949 #2A4376 #3A5DA3 #577BC3

Accessibility & contrast

On white

9.71
#2A4376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2A4376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4376
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4376#FFFFFF#000000##FFFFFF
##2A43761.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#214175
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4376;
/* rgb */ color: rgb(42, 67, 118);
/* oklch */ color: oklch(39.0% 0.092 263.1);
Tailwind
colors: {
  custom: {
    50: '#6b769e',
    500: '#2a4376',
    950: '#000000',
  },
}
SCSS
$custom: #2a4376;
$custom-light: #6b769e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4376",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 118
  },
  "hsl": {
    "h": 220.263,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38999,
    "c": 0.09217,
    "h": 263.1
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#2A4376
secondary
#A88C54
accent
#AB51D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4376

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

Preview Lab → · Contrast checker → · Palette generator →

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