#2A5290#2A5290

#2A5290 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.112 H 258.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2A5290
RGBrgb(42, 82, 144)
HSLhsl(216, 55%, 36%)
HSVhsv(216, 71%, 56%)
CMYKcmyk(70.8%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.08, 7.75, -38.43)
CIE-LCHlch(35.08, 39.21, 281.40°)
OKLaboklab(44.26% -0.0215 -0.1097)
OKLCHoklch(44.26% 0.112 258.9)
XYZxyz(9.0044, 8.5395, 27.5539)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5290 #90682A
analogous
#2A8590 #2A5290 #352A90
triadic
#2A5290 #902A52 #52902A
tetradic
#2A5290 #902A85 #90682A #2A9035
square
#2A5290 #902A85 #90682A #2A9035
split-complementary
#2A5290 #90352A #85902A
monochromatic
#0E1C31 #1C3761 #2A5290 #386DBF #638ED1

Accessibility & contrast

On white

7.75
#2A5290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A5290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5290
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5290#FFFFFF#000000##FFFFFF
##2A52901.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355892
Deuteranopia (green-blind)
#244E8F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5290;
/* rgb */ color: rgb(42, 82, 144);
/* oklch */ color: oklch(44.3% 0.112 258.9);
Tailwind
colors: {
  custom: {
    50: '#7082b1',
    500: '#2a5290',
    950: '#000000',
  },
}
SCSS
$custom: #2a5290;
$custom-light: #7082b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5290",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 216.471,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.11181,
    "h": 258.9
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#2A5290
secondary
#B7955E
accent
#A44ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5290

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

Preview Lab → · Contrast checker → · Palette generator →

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