#2A4D83#2A4D83

#2A4D83 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.099 H 258.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2A4D83
RGBrgb(42, 77, 131)
HSLhsl(216, 51%, 34%)
HSVhsv(216, 68%, 51%)
CMYKcmyk(67.9%, 41.2%, 0%, 48.6%)
CIE-LABlab(32.78, 6.11, -34.13)
CIE-LCHlch(32.78, 34.67, 280.15°)
OKLaboklab(42.23% -0.0192 -0.0972)
OKLCHoklch(42.23% 0.099 258.8)
XYZxyz(7.7040, 7.4379, 22.4980)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D83 #83602A
analogous
#2A7A83 #2A4D83 #332A83
triadic
#2A4D83 #832A4D #4D832A
tetradic
#2A4D83 #832A7A #83602A #2A8333
square
#2A4D83 #832A7A #83602A #2A8333
split-complementary
#2A4D83 #83332A #7A832A
monochromatic
#0C1726 #1B3255 #2A4D83 #3968B1 #5D88CB

Accessibility & contrast

On white

8.44
#2A4D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2A4D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D83
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D83#FFFFFF#000000##FFFFFF
##2A4D831.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#274982
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4d83;
/* rgb */ color: rgb(42, 77, 131);
/* oklch */ color: oklch(42.2% 0.099 258.8);
Tailwind
colors: {
  custom: {
    50: '#6e7ea7',
    500: '#2a4d83',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d83;
$custom-light: #6e7ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d83",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 131
  },
  "hsl": {
    "h": 216.404,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42229,
    "c": 0.09906,
    "h": 258.8
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#2A4D83
secondary
#B18E58
accent
#A34DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2A4D83

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

Preview Lab → · Contrast checker → · Palette generator →

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