#2A5FA9#2A5FA9

#2A5FA9 is a mid, vivid cyan. Relative luminance 0.115; OKLCH L 48.9% C 0.131 H 257.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2A5FA9
RGBrgb(42, 95, 169)
HSLhsl(215, 60%, 41%)
HSVhsv(215, 75%, 66%)
CMYKcmyk(75.1%, 43.8%, 0%, 33.7%)
CIE-LABlab(40.48, 8.83, -44.80)
CIE-LCHlch(40.48, 45.66, 281.15°)
OKLaboklab(48.93% -0.0286 -0.1282)
OKLCHoklch(48.93% 0.131 257.4)
XYZxyz(12.2059, 11.5399, 39.1126)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5FA9 #A9742A
analogous
#2A9FA9 #2A5FA9 #352AA9
triadic
#2A5FA9 #A92A5F #5FA92A
tetradic
#2A5FA9 #A92A9F #A9742A #2AA935
square
#2A5FA9 #A92A9F #A9742A #2AA935
split-complementary
#2A5FA9 #A9352A #9FA92A
monochromatic
#122847 #1E4378 #2A5FA9 #417CD0 #729EDC

Accessibility & contrast

On white

6.35
#2A5FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2A5FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5FA9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5FA9#FFFFFF#000000##FFFFFF
##2A5FA91.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AC
Deuteranopia (green-blind)
#235AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a5fa9;
/* rgb */ color: rgb(42, 95, 169);
/* oklch */ color: oklch(48.9% 0.131 257.4);
Tailwind
colors: {
  custom: {
    50: '#758bc3',
    500: '#2a5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2a5fa9;
$custom-light: #758bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5fa9",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 214.961,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48934,
    "c": 0.13137,
    "h": 257.4
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#2A5FA9
secondary
#C39F6C
accent
#A144E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2A5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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