#2A498A#2A498A

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

Color values

HEX#2A498A
RGBrgb(42, 73, 138)
HSLhsl(221, 53%, 35%)
HSVhsv(221, 70%, 54%)
CMYKcmyk(69.6%, 47.1%, 0%, 45.9%)
CIE-LABlab(32.01, 11.46, -39.67)
CIE-LCHlch(32.01, 41.29, 286.11°)
OKLaboklab(41.78% -0.0136 -0.1135)
OKLCHoklch(41.78% 0.114 263.2)
XYZxyz(7.9232, 7.0915, 24.9911)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A498A #8A6B2A
analogous
#2A798A #2A498A #3B2A8A
triadic
#2A498A #8A2A49 #498A2A
tetradic
#2A498A #8A2A79 #8A6B2A #2A8A3B
square
#2A498A #8A2A79 #8A6B2A #2A8A3B
split-complementary
#2A498A #8A3B2A #798A2A
monochromatic
#0D172C #1C305B #2A498A #3862B9 #6084CF

Accessibility & contrast

On white

8.68
#2A498A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A498A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A498A#FFFFFF#000000##FFFFFF
##2A498A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508C
Deuteranopia (green-blind)
#164789
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a498a;
/* rgb */ color: rgb(42, 73, 138);
/* oklch */ color: oklch(41.8% 0.114 263.2);
Tailwind
colors: {
  custom: {
    50: '#6f7bac',
    500: '#2a498a',
    950: '#000000',
  },
}
SCSS
$custom: #2a498a;
$custom-light: #6f7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a498a",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 138
  },
  "hsl": {
    "h": 220.625,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41776,
    "c": 0.11433,
    "h": 263.2
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A498A

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

Preview Lab → · Contrast checker → · Palette generator →

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