#2A4983#2A4983

#2A4983 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.104 H 261.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2A4983
RGBrgb(42, 73, 131)
HSLhsl(219, 51%, 34%)
HSVhsv(219, 68%, 51%)
CMYKcmyk(67.9%, 44.3%, 0%, 48.6%)
CIE-LABlab(31.57, 8.78, -36.07)
CIE-LCHlch(31.57, 37.12, 283.69°)
OKLaboklab(41.29% -0.0149 -0.1029)
OKLCHoklch(41.29% 0.104 261.7)
XYZxyz(7.4327, 6.8953, 22.4076)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4983 #83642A
analogous
#2A7683 #2A4983 #382A83
triadic
#2A4983 #832A49 #49832A
tetradic
#2A4983 #832A76 #83642A #2A8338
square
#2A4983 #832A76 #83642A #2A8338
split-complementary
#2A4983 #83382A #76832A
monochromatic
#0C1526 #1B2F55 #2A4983 #3963B1 #5D83CB

Accessibility & contrast

On white

8.83
#2A4983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2A4983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4983
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4983#FFFFFF#000000##FFFFFF
##2A49831.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F85
Deuteranopia (green-blind)
#204682
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4983;
/* rgb */ color: rgb(42, 73, 131);
/* oklch */ color: oklch(41.3% 0.104 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e7ba7',
    500: '#2a4983',
    950: '#000000',
  },
}
SCSS
$custom: #2a4983;
$custom-light: #6e7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4983",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 219.101,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.10401,
    "h": 261.7
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#2A4983
secondary
#B19258
accent
#A94DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2A4983

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

Preview Lab → · Contrast checker → · Palette generator →

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