#2A528C#2A528C

#2A528C is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.106 H 257.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2A528C
RGBrgb(42, 82, 140)
HSLhsl(216, 54%, 36%)
HSVhsv(216, 70%, 55%)
CMYKcmyk(70%, 41.4%, 0%, 45.1%)
CIE-LABlab(34.84, 6.23, -36.38)
CIE-LCHlch(34.84, 36.91, 279.71°)
OKLaboklab(44% -0.0224 -0.1037)
OKLCHoklch(44% 0.106 257.8)
XYZxyz(8.7041, 8.4194, 25.9722)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A528C #8C642A
analogous
#2A838C #2A528C #332A8C
triadic
#2A528C #8C2A52 #528C2A
tetradic
#2A528C #8C2A83 #8C642A #2A8C33
square
#2A528C #8C2A83 #8C642A #2A8C33
split-complementary
#2A528C #8C332A #838C2A
monochromatic
#0E1B2E #1C365D #2A528C #386EBB #618ED0

Accessibility & contrast

On white

7.82
#2A528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2A528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A528C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A528C#FFFFFF#000000##FFFFFF
##2A528C1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578E
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a528c;
/* rgb */ color: rgb(42, 82, 140);
/* oklch */ color: oklch(44.0% 0.106 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f82ae',
    500: '#2a528c',
    950: '#000000',
  },
}
SCSS
$custom: #2a528c;
$custom-light: #6f82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a528c",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 215.51,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43999,
    "c": 0.10609,
    "h": 257.8
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#2A528C
secondary
#B5915C
accent
#A14BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A528C

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

Preview Lab → · Contrast checker → · Palette generator →

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