#2A5C97#2A5C97

#2A5C97 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.110 H 254.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2A5C97
RGBrgb(42, 92, 151)
HSLhsl(212, 56%, 38%)
HSVhsv(212, 72%, 59%)
CMYKcmyk(72.2%, 39.1%, 0%, 40.8%)
CIE-LABlab(38.52, 3.91, -37.20)
CIE-LCHlch(38.52, 37.40, 275.99°)
OKLaboklab(47.07% -0.0298 -0.1059)
OKLCHoklch(47.07% 0.11 254.3)
XYZxyz(10.3658, 10.3798, 30.7294)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C97 #97652A
analogous
#2A9297 #2A5C97 #2E2A97
triadic
#2A5C97 #972A5C #5C972A
tetradic
#2A5C97 #972A92 #97652A #2A972E
square
#2A5C97 #972A92 #97652A #2A972E
split-complementary
#2A5C97 #972E2A #92972A
monochromatic
#0F2237 #1D3F67 #2A5C97 #3779C7 #6799D5

Accessibility & contrast

On white

6.83
#2A5C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2A5C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5C97
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C97#FFFFFF#000000##FFFFFF
##2A5C971.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#305696
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5c97;
/* rgb */ color: rgb(42, 92, 151);
/* oklch */ color: oklch(47.1% 0.110 254.3);
Tailwind
colors: {
  custom: {
    50: '#7189b6',
    500: '#2a5c97',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c97;
$custom-light: #7189b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c97",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 212.477,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47066,
    "c": 0.11007,
    "h": 254.3
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#2A5C97
secondary
#BB9262
accent
#9A48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A5C97

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

Preview Lab → · Contrast checker → · Palette generator →

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