#2A4883#2A4883

#2A4883 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.105 H 262.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2A4883
RGBrgb(42, 72, 131)
HSLhsl(220, 51%, 34%)
HSVhsv(220, 68%, 51%)
CMYKcmyk(67.9%, 45%, 0%, 48.6%)
CIE-LABlab(31.27, 9.46, -36.55)
CIE-LCHlch(31.27, 37.75, 284.51°)
OKLaboklab(41.06% -0.0139 -0.1044)
OKLCHoklch(41.06% 0.105 262.4)
XYZxyz(7.3675, 6.7650, 22.3858)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4883 #83652A
analogous
#2A7583 #2A4883 #392A83
triadic
#2A4883 #832A48 #48832A
tetradic
#2A4883 #832A75 #83652A #2A8339
square
#2A4883 #832A75 #83652A #2A8339
split-complementary
#2A4883 #83392A #75832A
monochromatic
#0C1526 #1B2F55 #2A4883 #3961B1 #5D82CB

Accessibility & contrast

On white

8.92
#2A4883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A4883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4883
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4883#FFFFFF#000000##FFFFFF
##2A48831.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E85
Deuteranopia (green-blind)
#1D4682
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4883;
/* rgb */ color: rgb(42, 72, 131);
/* oklch */ color: oklch(41.1% 0.105 262.4);
Tailwind
colors: {
  custom: {
    50: '#6e7aa7',
    500: '#2a4883',
    950: '#000000',
  },
}
SCSS
$custom: #2a4883;
$custom-light: #6e7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4883",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 219.775,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.10528,
    "h": 262.4
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#2A4883
secondary
#B19358
accent
#AB4DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2A4883

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

Preview Lab → · Contrast checker → · Palette generator →

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