#2A5FA4#2A5FA4

#2A5FA4 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.6% C 0.125 H 256.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2A5FA4
RGBrgb(42, 95, 164)
HSLhsl(214, 59%, 40%)
HSVhsv(214, 74%, 64%)
CMYKcmyk(74.4%, 42.1%, 0%, 35.7%)
CIE-LABlab(40.17, 6.92, -42.32)
CIE-LCHlch(40.17, 42.88, 279.29°)
OKLaboklab(48.6% -0.0297 -0.1209)
OKLCHoklch(48.6% 0.125 256.2)
XYZxyz(11.7454, 11.3557, 36.6876)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5FA4 #A46F2A
analogous
#2A9CA4 #2A5FA4 #322AA4
triadic
#2A5FA4 #A42A5F #5FA42A
tetradic
#2A5FA4 #A42A9C #A46F2A #2AA432
square
#2A5FA4 #A42A9C #A46F2A #2AA432
split-complementary
#2A5FA4 #A4322A #9CA42A
monochromatic
#112743 #1E4373 #2A5FA4 #3E7CCD #6E9DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5FA4#FFFFFF#000000##FFFFFF
##2A5FA41.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)
#3E65A7
Deuteranopia (green-blind)
#2959A3
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a5fa4;
/* rgb */ color: rgb(42, 95, 164);
/* oklch */ color: oklch(48.6% 0.125 256.2);
Tailwind
colors: {
  custom: {
    50: '#748bbf',
    500: '#2a5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2a5fa4;
$custom-light: #748bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5fa4",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 213.934,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.12451,
    "h": 256.2
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#2A5FA4
secondary
#C19B69
accent
#9E45E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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