#2A5FA5#2A5FA5

#2A5FA5 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.7% C 0.126 H 256.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2A5FA5
RGBrgb(42, 95, 165)
HSLhsl(214, 59%, 41%)
HSVhsv(214, 75%, 65%)
CMYKcmyk(74.5%, 42.4%, 0%, 35.3%)
CIE-LABlab(40.23, 7.30, -42.82)
CIE-LCHlch(40.23, 43.44, 279.68°)
OKLaboklab(48.67% -0.0294 -0.1224)
OKLCHoklch(48.67% 0.126 256.5)
XYZxyz(11.8361, 11.3920, 37.1651)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5FA5 #A5702A
analogous
#2A9CA5 #2A5FA5 #322AA5
triadic
#2A5FA5 #A52A5F #5FA52A
tetradic
#2A5FA5 #A52A9C #A5702A #2AA532
square
#2A5FA5 #A52A9C #A5702A #2AA532
split-complementary
#2A5FA5 #A5322A #9CA52A
monochromatic
#112743 #1E4374 #2A5FA5 #3E7CCE #6F9DDA

Accessibility & contrast

On white

6.41
#2A5FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2A5FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5FA5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5FA5#FFFFFF#000000##FFFFFF
##2A5FA51.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A8
Deuteranopia (green-blind)
#285AA4
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a5fa5;
/* rgb */ color: rgb(42, 95, 165);
/* oklch */ color: oklch(48.7% 0.126 256.5);
Tailwind
colors: {
  custom: {
    50: '#748bc0',
    500: '#2a5fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2a5fa5;
$custom-light: #748bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5fa5",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 214.146,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.12588,
    "h": 256.5
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A5FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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