#2A4682#2A4682

#2A4682 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.106 H 263.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2A4682
RGBrgb(42, 70, 130)
HSLhsl(221, 51%, 34%)
HSVhsv(221, 68%, 51%)
CMYKcmyk(67.7%, 46.2%, 0%, 49%)
CIE-LABlab(30.60, 10.43, -36.99)
CIE-LCHlch(30.60, 38.43, 285.74°)
OKLaboklab(40.52% -0.0119 -0.1057)
OKLCHoklch(40.52% 0.106 263.5)
XYZxyz(7.1729, 6.4836, 21.9882)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4682 #82662A
analogous
#2A7282 #2A4682 #3A2A82
triadic
#2A4682 #822A46 #46822A
tetradic
#2A4682 #822A72 #82662A #2A823A
square
#2A4682 #822A72 #82662A #2A823A
split-complementary
#2A4682 #823A2A #72822A
monochromatic
#0C1425 #1B2D54 #2A4682 #395FB0 #5C7FCA

Accessibility & contrast

On white

9.14
#2A4682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A4682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4682
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4682#FFFFFF#000000##FFFFFF
##2A46821.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C84
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4682;
/* rgb */ color: rgb(42, 70, 130);
/* oklch */ color: oklch(40.5% 0.106 263.5);
Tailwind
colors: {
  custom: {
    50: '#6e79a7',
    500: '#2a4682',
    950: '#000000',
  },
}
SCSS
$custom: #2a4682;
$custom-light: #6e79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4682",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 220.909,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40523,
    "c": 0.10636,
    "h": 263.5
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#2A4682
secondary
#B09458
accent
#AE4DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2A4682

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

Preview Lab → · Contrast checker → · Palette generator →

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