#2A498D#2A498D

#2A498D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.119 H 263.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2A498D
RGBrgb(42, 73, 141)
HSLhsl(221, 54%, 36%)
HSVhsv(221, 70%, 55%)
CMYKcmyk(70.2%, 48.2%, 0%, 44.7%)
CIE-LABlab(32.21, 12.61, -41.19)
CIE-LCHlch(32.21, 43.08, 287.02°)
OKLaboklab(41.99% -0.0131 -0.118)
OKLCHoklch(41.99% 0.119 263.7)
XYZxyz(8.1434, 7.1796, 26.1508)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A498D #8D6E2A
analogous
#2A7A8D #2A498D #3C2A8D
triadic
#2A498D #8D2A49 #498D2A
tetradic
#2A498D #8D2A7A #8D6E2A #2A8D3C
square
#2A498D #8D2A7A #8D6E2A #2A8D3C
split-complementary
#2A498D #8D3C2A #7A8D2A
monochromatic
#0E182F #1C315E #2A498D #3861BC #6184D0

Accessibility & contrast

On white

8.62
#2A498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A498D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A498D#FFFFFF#000000##FFFFFF
##2A498D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#10488C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a498d;
/* rgb */ color: rgb(42, 73, 141);
/* oklch */ color: oklch(42.0% 0.119 263.7);
Tailwind
colors: {
  custom: {
    50: '#707baf',
    500: '#2a498d',
    950: '#000000',
  },
}
SCSS
$custom: #2a498d;
$custom-light: #707baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a498d",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 221.212,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.11873,
    "h": 263.7
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#2A498D
secondary
#B69A5D
accent
#AF4ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A498D

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

Preview Lab → · Contrast checker → · Palette generator →

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