#2A4E83#2A4E83

#2A4E83 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.098 H 258.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2A4E83
RGBrgb(42, 78, 131)
HSLhsl(216, 51%, 34%)
HSVhsv(216, 68%, 51%)
CMYKcmyk(67.9%, 40.5%, 0%, 48.6%)
CIE-LABlab(33.09, 5.45, -33.64)
CIE-LCHlch(33.09, 34.08, 279.20°)
OKLaboklab(42.47% -0.0203 -0.0957)
OKLCHoklch(42.47% 0.098 258)
XYZxyz(7.7745, 7.5789, 22.5215)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E83 #835F2A
analogous
#2A7B83 #2A4E83 #332A83
triadic
#2A4E83 #832A4E #4E832A
tetradic
#2A4E83 #832A7B #835F2A #2A8333
square
#2A4E83 #832A7B #835F2A #2A8333
split-complementary
#2A4E83 #83332A #7B832A
monochromatic
#0C1726 #1B3255 #2A4E83 #396AB1 #5D89CB

Accessibility & contrast

On white

8.35
#2A4E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A4E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E83
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E83#FFFFFF#000000##FFFFFF
##2A4E831.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365285
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a4e83;
/* rgb */ color: rgb(42, 78, 131);
/* oklch */ color: oklch(42.5% 0.098 258.0);
Tailwind
colors: {
  custom: {
    50: '#6e7fa7',
    500: '#2a4e83',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e83;
$custom-light: #6e7fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e83",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 215.73,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.09787,
    "h": 258
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#2A4E83
secondary
#B18D58
accent
#A14DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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