#2A467D#2A467D

#2A467D is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.099 H 262.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2A467D
RGBrgb(42, 70, 125)
HSLhsl(220, 50%, 33%)
HSVhsv(220, 66%, 49%)
CMYKcmyk(66.4%, 44%, 0%, 51%)
CIE-LABlab(30.29, 8.52, -34.38)
CIE-LCHlch(30.29, 35.43, 283.92°)
OKLaboklab(40.18% -0.0129 -0.098)
OKLCHoklch(40.18% 0.099 262.5)
XYZxyz(6.8454, 6.3526, 20.2635)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A467D #7D612A
analogous
#2A6F7D #2A467D #372A7D
triadic
#2A467D #7D2A46 #467D2A
tetradic
#2A467D #7D2A6F #7D612A #2A7D37
square
#2A467D #7D2A6F #7D612A #2A7D37
split-complementary
#2A467D #7D372A #6F7D2A
monochromatic
#0B1321 #1B2C4F #2A467D #3960AB #5A7FC8

Accessibility & contrast

On white

9.25
#2A467D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2A467D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A467D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A467D#FFFFFF#000000##FFFFFF
##2A467D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7F
Deuteranopia (green-blind)
#20447C
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a467d;
/* rgb */ color: rgb(42, 70, 125);
/* oklch */ color: oklch(40.2% 0.099 262.5);
Tailwind
colors: {
  custom: {
    50: '#6d79a3',
    500: '#2a467d',
    950: '#000000',
  },
}
SCSS
$custom: #2a467d;
$custom-light: #6d79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a467d",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 125
  },
  "hsl": {
    "h": 219.759,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.09888,
    "h": 262.5
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#2A467D
secondary
#AD9056
accent
#AA4FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #2A467D

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

Preview Lab → · Contrast checker → · Palette generator →

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