#2A5DAA#2A5DAA

#2A5DAA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.5% C 0.135 H 258.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2A5DAA
RGBrgb(42, 93, 170)
HSLhsl(216, 60%, 42%)
HSVhsv(216, 75%, 67%)
CMYKcmyk(75.3%, 45.3%, 0%, 33.3%)
CIE-LABlab(39.95, 10.51, -46.23)
CIE-LCHlch(39.95, 47.41, 282.81°)
OKLaboklab(48.55% -0.0266 -0.1325)
OKLCHoklch(48.55% 0.135 258.6)
XYZxyz(12.1223, 11.2219, 39.5496)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5DAA #AA772A
analogous
#2A9DAA #2A5DAA #372AAA
triadic
#2A5DAA #AA2A5D #5DAA2A
tetradic
#2A5DAA #AA2A9D #AA772A #2AAA37
square
#2A5DAA #AA2A9D #AA772A #2AAA37
split-complementary
#2A5DAA #AA372A #9DAA2A
monochromatic
#122748 #1E4279 #2A5DAA #417AD0 #729CDC

Accessibility & contrast

On white

6.47
#2A5DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2A5DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5DAA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5DAA#FFFFFF#000000##FFFFFF
##2A5DAA1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AD
Deuteranopia (green-blind)
#1B59A8
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5daa;
/* rgb */ color: rgb(42, 93, 170);
/* oklch */ color: oklch(48.5% 0.135 258.6);
Tailwind
colors: {
  custom: {
    50: '#758ac4',
    500: '#2a5daa',
    950: '#000000',
  },
}
SCSS
$custom: #2a5daa;
$custom-light: #758ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5daa",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 170
  },
  "hsl": {
    "h": 216.094,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4855,
    "c": 0.13511,
    "h": 258.6
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#2A5DAA
secondary
#C3A16C
accent
#A444E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A5DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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