#2A5089#2A5089

#2A5089 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.104 H 258.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2A5089
RGBrgb(42, 80, 137)
HSLhsl(216, 53%, 35%)
HSVhsv(216, 69%, 54%)
CMYKcmyk(69.3%, 41.6%, 0%, 46.3%)
CIE-LABlab(34.06, 6.40, -35.79)
CIE-LCHlch(34.06, 36.36, 280.14°)
OKLaboklab(43.33% -0.021 -0.102)
OKLCHoklch(43.33% 0.104 258.4)
XYZxyz(8.3372, 8.0349, 24.7736)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5089 #89632A
analogous
#2A8089 #2A5089 #332A89
triadic
#2A5089 #892A50 #50892A
tetradic
#2A5089 #892A80 #89632A #2A8933
square
#2A5089 #892A80 #89632A #2A8933
split-complementary
#2A5089 #89332A #80892A
monochromatic
#0D192B #1C355A #2A5089 #386BB8 #5F8CCE

Accessibility & contrast

On white

8.05
#2A5089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A5089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5089
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5089#FFFFFF#000000##FFFFFF
##2A50891.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558B
Deuteranopia (green-blind)
#274C88
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5089;
/* rgb */ color: rgb(42, 80, 137);
/* oklch */ color: oklch(43.3% 0.104 258.4);
Tailwind
colors: {
  custom: {
    50: '#6f80ac',
    500: '#2a5089',
    950: '#000000',
  },
}
SCSS
$custom: #2a5089;
$custom-light: #6f80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5089",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 137
  },
  "hsl": {
    "h": 216,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.10416,
    "h": 258.4
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#2A5089
secondary
#B4905B
accent
#A24BDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5089

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

Preview Lab → · Contrast checker → · Palette generator →

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