#2A5BA9#2A5BA9

#2A5BA9 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.136 H 259.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2A5BA9
RGBrgb(42, 91, 169)
HSLhsl(217, 60%, 41%)
HSVhsv(217, 75%, 66%)
CMYKcmyk(75.1%, 46.2%, 0%, 33.7%)
CIE-LABlab(39.31, 11.43, -46.68)
CIE-LCHlch(39.31, 48.05, 283.76°)
OKLaboklab(48.03% -0.025 -0.1338)
OKLCHoklch(48.03% 0.136 259.4)
XYZxyz(11.8548, 10.8377, 38.9955)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5BA9 #A9782A
analogous
#2A9BA9 #2A5BA9 #382AA9
triadic
#2A5BA9 #A92A5B #5BA92A
tetradic
#2A5BA9 #A92A9B #A9782A #2AA938
square
#2A5BA9 #A92A9B #A9782A #2AA938
split-complementary
#2A5BA9 #A9382A #9BA92A
monochromatic
#122647 #1E4178 #2A5BA9 #4178D0 #729BDC

Accessibility & contrast

On white

6.63
#2A5BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5BA9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5BA9#FFFFFF#000000##FFFFFF
##2A5BA91.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#1657A7
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a5ba9;
/* rgb */ color: rgb(42, 91, 169);
/* oklch */ color: oklch(48.0% 0.136 259.4);
Tailwind
colors: {
  custom: {
    50: '#7588c3',
    500: '#2a5ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ba9;
$custom-light: #7588c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ba9",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 169
  },
  "hsl": {
    "h": 216.85,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.13612,
    "h": 259.4
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#2A5BA9
secondary
#C3A16C
accent
#A644E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2A5BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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