#2A5E97#2A5E97

#2A5E97 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.108 H 252.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2A5E97
RGBrgb(42, 94, 151)
HSLhsl(211, 56%, 38%)
HSVhsv(211, 72%, 59%)
CMYKcmyk(72.2%, 37.7%, 0%, 40.8%)
CIE-LABlab(39.12, 2.63, -36.23)
CIE-LCHlch(39.12, 36.33, 274.15°)
OKLaboklab(47.54% -0.0319 -0.1031)
OKLCHoklch(47.54% 0.108 252.8)
XYZxyz(10.5414, 10.7309, 30.7879)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E97 #97632A
analogous
#2A9597 #2A5E97 #2C2A97
triadic
#2A5E97 #972A5E #5E972A
tetradic
#2A5E97 #972A95 #97632A #2A972C
square
#2A5E97 #972A95 #97632A #2A972C
split-complementary
#2A5E97 #972C2A #95972A
monochromatic
#0F2237 #1D4067 #2A5E97 #377CC7 #679BD5

Accessibility & contrast

On white

6.67
#2A5E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2A5E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E97
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E97#FFFFFF#000000##FFFFFF
##2A5E971.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#345796
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a5e97;
/* rgb */ color: rgb(42, 94, 151);
/* oklch */ color: oklch(47.5% 0.108 252.8);
Tailwind
colors: {
  custom: {
    50: '#718bb6',
    500: '#2a5e97',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e97;
$custom-light: #718bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e97",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 211.376,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47541,
    "c": 0.10789,
    "h": 252.8
  },
  "luminance": 0.10732
}

Semantic roles & 50–950 ramp

primary
#2A5E97
secondary
#BB9062
accent
#9748E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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