#2A5DA5#2A5DA5

#2A5DA5 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.128 H 257.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2A5DA5
RGBrgb(42, 93, 165)
HSLhsl(215, 59%, 41%)
HSVhsv(215, 75%, 65%)
CMYKcmyk(74.5%, 43.6%, 0%, 35.3%)
CIE-LABlab(39.64, 8.59, -43.76)
CIE-LCHlch(39.64, 44.60, 281.11°)
OKLaboklab(48.21% -0.0276 -0.1252)
OKLCHoklch(48.21% 0.128 257.6)
XYZxyz(11.6582, 11.0363, 37.1058)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5DA5 #A5722A
analogous
#2A9AA5 #2A5DA5 #352AA5
triadic
#2A5DA5 #A52A5D #5DA52A
tetradic
#2A5DA5 #A52A9A #A5722A #2AA535
square
#2A5DA5 #A52A9A #A5722A #2AA535
split-complementary
#2A5DA5 #A5352A #9AA52A
monochromatic
#112643 #1E4274 #2A5DA5 #3E7ACE #6F9CDA

Accessibility & contrast

On white

6.55
#2A5DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2A5DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5DA5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5DA5#FFFFFF#000000##FFFFFF
##2A5DA51.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A8
Deuteranopia (green-blind)
#2358A4
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5da5;
/* rgb */ color: rgb(42, 93, 165);
/* oklch */ color: oklch(48.2% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#748ac0',
    500: '#2a5da5',
    950: '#000000',
  },
}
SCSS
$custom: #2a5da5;
$custom-light: #748ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5da5",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 215.122,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.12821,
    "h": 257.6
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#2A5DA5
secondary
#C19D69
accent
#A145E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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