#2A528E#2A528E

#2A528E is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.109 H 258.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2A528E
RGBrgb(42, 82, 142)
HSLhsl(216, 54%, 36%)
HSVhsv(216, 70%, 56%)
CMYKcmyk(70.4%, 42.3%, 0%, 44.3%)
CIE-LABlab(34.96, 6.99, -37.41)
CIE-LCHlch(34.96, 38.05, 280.58°)
OKLaboklab(44.13% -0.0219 -0.1067)
OKLCHoklch(44.13% 0.109 258.4)
XYZxyz(8.8529, 8.4789, 26.7560)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A528E #8E662A
analogous
#2A848E #2A528E #342A8E
triadic
#2A528E #8E2A52 #528E2A
tetradic
#2A528E #8E2A84 #8E662A #2A8E34
square
#2A528E #8E2A84 #8E662A #2A8E34
split-complementary
#2A528E #8E342A #848E2A
monochromatic
#0E1B30 #1C375F #2A528E #386DBD #628ED1

Accessibility & contrast

On white

7.79
#2A528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A528E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A528E#FFFFFF#000000##FFFFFF
##2A528E1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#264E8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a528e;
/* rgb */ color: rgb(42, 82, 142);
/* oklch */ color: oklch(44.1% 0.109 258.4);
Tailwind
colors: {
  custom: {
    50: '#7082af',
    500: '#2a528e',
    950: '#000000',
  },
}
SCSS
$custom: #2a528e;
$custom-light: #7082af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a528e",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 216,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44131,
    "c": 0.10895,
    "h": 258.4
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#2A528E
secondary
#B6935D
accent
#A34ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A528E

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

Preview Lab → · Contrast checker → · Palette generator →

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