#2A406F#2A406F

#2A406F is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.085 H 263.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2A406F
RGBrgb(42, 64, 111)
HSLhsl(221, 45%, 30%)
HSVhsv(221, 62%, 44%)
CMYKcmyk(62.2%, 42.3%, 0%, 56.5%)
CIE-LABlab(27.59, 7.32, -29.86)
CIE-LCHlch(27.59, 30.74, 283.78°)
OKLaboklab(37.82% -0.0091 -0.0848)
OKLCHoklch(37.82% 0.085 263.9)
XYZxyz(5.6565, 5.3063, 15.7620)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A406F #6F592A
analogous
#2A626F #2A406F #372A6F
triadic
#2A406F #6F2A40 #406F2A
tetradic
#2A406F #6F2A62 #6F592A #2A6F37
square
#2A406F #6F2A62 #6F592A #2A6F37
split-complementary
#2A406F #6F372A #626F2A
monochromatic
#080D16 #192643 #2A406F #3B5A9B #5577BF

Accessibility & contrast

On white

10.19
#2A406F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A406F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A406F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A406F#FFFFFF#000000##FFFFFF
##2A406F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#223E6E
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a406f;
/* rgb */ color: rgb(42, 64, 111);
/* oklch */ color: oklch(37.8% 0.085 263.9);
Tailwind
colors: {
  custom: {
    50: '#6a7498',
    500: '#2a406f',
    950: '#000000',
  },
}
SCSS
$custom: #2a406f;
$custom-light: #6a7498;
$custom-dark: #000000;
JSON
{
  "hex": "#2a406f",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 220.87,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.37819,
    "c": 0.08533,
    "h": 263.9
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#2A406F
secondary
#A18854
accent
#AB53D5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A406F

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

Preview Lab → · Contrast checker → · Palette generator →

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