#2A498B#2A498B

#2A498B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.116 H 263.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2A498B
RGBrgb(42, 73, 139)
HSLhsl(221, 54%, 35%)
HSVhsv(221, 70%, 55%)
CMYKcmyk(69.8%, 47.5%, 0%, 45.5%)
CIE-LABlab(32.08, 11.84, -40.18)
CIE-LCHlch(32.08, 41.89, 286.42°)
OKLaboklab(41.85% -0.0134 -0.115)
OKLCHoklch(41.85% 0.116 263.3)
XYZxyz(7.9959, 7.1206, 25.3741)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A498B #8B6C2A
analogous
#2A798B #2A498B #3C2A8B
triadic
#2A498B #8B2A49 #498B2A
tetradic
#2A498B #8B2A79 #8B6C2A #2A8B3C
square
#2A498B #8B2A79 #8B6C2A #2A8B3C
split-complementary
#2A498B #8B3C2A #798B2A
monochromatic
#0E182D #1C305C #2A498B #3862BA #6084CF

Accessibility & contrast

On white

8.66
#2A498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A498B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A498B#FFFFFF#000000##FFFFFF
##2A498B1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#14478A
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a498b;
/* rgb */ color: rgb(42, 73, 139);
/* oklch */ color: oklch(41.8% 0.116 263.3);
Tailwind
colors: {
  custom: {
    50: '#6f7bad',
    500: '#2a498b',
    950: '#000000',
  },
}
SCSS
$custom: #2a498b;
$custom-light: #6f7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a498b",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 220.825,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.11579,
    "h": 263.3
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#2A498B
secondary
#B5985C
accent
#AE4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A498B

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

Preview Lab → · Contrast checker → · Palette generator →

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