#2A5FA0#2A5FA0

#2A5FA0 is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.3% C 0.119 H 255.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2A5FA0
RGBrgb(42, 95, 160)
HSLhsl(213, 58%, 40%)
HSVhsv(213, 74%, 63%)
CMYKcmyk(73.8%, 40.6%, 0%, 37.3%)
CIE-LABlab(39.94, 5.40, -40.32)
CIE-LCHlch(39.94, 40.68, 277.62°)
OKLaboklab(48.34% -0.0306 -0.115)
OKLCHoklch(48.34% 0.119 255.1)
XYZxyz(11.3899, 11.2135, 34.8150)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5FA0 #A06B2A
analogous
#2A9AA0 #2A5FA0 #302AA0
triadic
#2A5FA0 #A02A5F #5FA02A
tetradic
#2A5FA0 #A02A9A #A06B2A #2AA030
square
#2A5FA0 #A02A9A #A06B2A #2AA030
split-complementary
#2A5FA0 #A0302A #9AA02A
monochromatic
#11253F #1D4270 #2A5FA0 #3C7CCC #6C9DD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5FA0#FFFFFF#000000##FFFFFF
##2A5FA01.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)
#4064A3
Deuteranopia (green-blind)
#2E599F
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5fa0;
/* rgb */ color: rgb(42, 95, 160);
/* oklch */ color: oklch(48.3% 0.119 255.1);
Tailwind
colors: {
  custom: {
    50: '#738bbc',
    500: '#2a5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2a5fa0;
$custom-light: #738bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5fa0",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 213.051,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48343,
    "c": 0.11904,
    "h": 255.1
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#2A5FA0
secondary
#BF9767
accent
#9C46E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2A5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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