#2A5AAE#2A5AAE

#2A5AAE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.144 H 260.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2A5AAE
RGBrgb(42, 90, 174)
HSLhsl(218, 61%, 42%)
HSVhsv(218, 76%, 68%)
CMYKcmyk(75.9%, 48.3%, 0%, 31.8%)
CIE-LABlab(39.34, 14.01, -49.58)
CIE-LCHlch(39.34, 51.52, 285.78°)
OKLaboklab(48.16% -0.0233 -0.1423)
OKLCHoklch(48.16% 0.144 260.7)
XYZxyz(12.2482, 10.8592, 41.4867)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5AAE #AE7E2A
analogous
#2A9CAE #2A5AAE #3C2AAE
triadic
#2A5AAE #AE2A5A #5AAE2A
tetradic
#2A5AAE #AE2A9C #AE7E2A #2AAE3C
square
#2A5AAE #AE2A9C #AE7E2A #2AAE3C
split-complementary
#2A5AAE #AE3C2A #9CAE2A
monochromatic
#12274B #1E407D #2A5AAE #4377D2 #759BDE

Accessibility & contrast

On white

6.62
#2A5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A5AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5AAE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5AAE#FFFFFF#000000##FFFFFF
##2A5AAE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5aae;
/* rgb */ color: rgb(42, 90, 174);
/* oklch */ color: oklch(48.2% 0.144 260.7);
Tailwind
colors: {
  custom: {
    50: '#7688c7',
    500: '#2a5aae',
    950: '#000000',
  },
}
SCSS
$custom: #2a5aae;
$custom-light: #7688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5aae",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 218.182,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48163,
    "c": 0.14425,
    "h": 260.7
  },
  "luminance": 0.10861
}

Semantic roles & 50–950 ramp

primary
#2A5AAE
secondary
#C5A66F
accent
#AA44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A5AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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