#2A6D97#2A6D97

#2A6D97 is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.2% C 0.094 H 240.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2A6D97
RGBrgb(42, 109, 151)
HSLhsl(203, 56%, 38%)
HSVhsv(203, 72%, 59%)
CMYKcmyk(72.2%, 27.8%, 0%, 40.8%)
CIE-LABlab(43.74, -6.64, -28.95)
CIE-LCHlch(43.74, 29.70, 257.09°)
OKLaboklab(51.18% -0.0472 -0.0817)
OKLCHoklch(51.18% 0.094 240)
XYZxyz(12.0072, 13.6625, 31.2765)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D97 #97542A
analogous
#2A978A #2A6D97 #2A3797
triadic
#2A6D97 #972A6D #6D972A
tetradic
#2A6D97 #8A2A97 #97542A #37972A
square
#2A6D97 #8A2A97 #97542A #37972A
split-complementary
#2A6D97 #972A37 #978A2A
monochromatic
#0F2837 #1D4A67 #2A6D97 #3790C7 #67AAD5

Accessibility & contrast

On white

5.63
#2A6D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2A6D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D97
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D97#FFFFFF#000000##FFFFFF
##2A6D971.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D99
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#00787C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a6d97;
/* rgb */ color: rgb(42, 109, 151);
/* oklch */ color: oklch(51.2% 0.094 240.0);
Tailwind
colors: {
  custom: {
    50: '#7296b5',
    500: '#2a6d97',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d97;
$custom-light: #7296b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d97",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 151
  },
  "hsl": {
    "h": 203.119,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.09435,
    "h": 240
  },
  "luminance": 0.13664
}

Semantic roles & 50–950 ramp

primary
#2A6D97
secondary
#BB8462
accent
#8348E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6D97

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

Preview Lab → · Contrast checker → · Palette generator →

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