#2A5EA5#2A5EA5

#2A5EA5 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.4% C 0.127 H 257.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2A5EA5
RGBrgb(42, 94, 165)
HSLhsl(215, 59%, 41%)
HSVhsv(215, 75%, 65%)
CMYKcmyk(74.5%, 43%, 0%, 35.3%)
CIE-LABlab(39.94, 7.95, -43.29)
CIE-LCHlch(39.94, 44.02, 280.40°)
OKLaboklab(48.44% -0.0285 -0.1238)
OKLCHoklch(48.44% 0.127 257)
XYZxyz(11.7466, 11.2130, 37.1353)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5EA5 #A5712A
analogous
#2A9BA5 #2A5EA5 #332AA5
triadic
#2A5EA5 #A52A5E #5EA52A
tetradic
#2A5EA5 #A52A9B #A5712A #2AA533
square
#2A5EA5 #A52A9B #A5712A #2AA533
split-complementary
#2A5EA5 #A5332A #9BA52A
monochromatic
#112643 #1E4274 #2A5EA5 #3E7BCE #6F9CDA

Accessibility & contrast

On white

6.48
#2A5EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5EA5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5EA5#FFFFFF#000000##FFFFFF
##2A5EA51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#2659A4
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5ea5;
/* rgb */ color: rgb(42, 94, 165);
/* oklch */ color: oklch(48.4% 0.127 257.0);
Tailwind
colors: {
  custom: {
    50: '#748bc0',
    500: '#2a5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2a5ea5;
$custom-light: #748bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5ea5",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 214.634,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.12704,
    "h": 257
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#2A5EA5
secondary
#C19C69
accent
#A045E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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