#2A5EA9#2A5EA9

#2A5EA9 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.7% C 0.133 H 257.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2A5EA9
RGBrgb(42, 94, 169)
HSLhsl(215, 60%, 41%)
HSVhsv(215, 75%, 66%)
CMYKcmyk(75.1%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.18, 9.48, -45.27)
CIE-LCHlch(40.18, 46.25, 281.83°)
OKLaboklab(48.71% -0.0277 -0.1296)
OKLCHoklch(48.71% 0.133 257.9)
XYZxyz(12.1164, 11.3609, 39.0827)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5EA9 #A9752A
analogous
#2A9EA9 #2A5EA9 #362AA9
triadic
#2A5EA9 #A92A5E #5EA92A
tetradic
#2A5EA9 #A92A9E #A9752A #2AA936
square
#2A5EA9 #A92A9E #A9752A #2AA936
split-complementary
#2A5EA9 #A9362A #9EA92A
monochromatic
#122747 #1E4378 #2A5EA9 #417BD0 #729DDC

Accessibility & contrast

On white

6.42
#2A5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2A5EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5EA9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5EA9#FFFFFF#000000##FFFFFF
##2A5EA91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AC
Deuteranopia (green-blind)
#2059A7
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a5ea9;
/* rgb */ color: rgb(42, 94, 169);
/* oklch */ color: oklch(48.7% 0.133 257.9);
Tailwind
colors: {
  custom: {
    50: '#758bc3',
    500: '#2a5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ea9;
$custom-light: #758bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ea9",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 215.433,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48707,
    "c": 0.13255,
    "h": 257.9
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#2A5EA9
secondary
#C39F6C
accent
#A244E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2A5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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