#2A6897#2A6897

#2A6897 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.0% C 0.098 H 244.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2A6897
RGBrgb(42, 104, 151)
HSLhsl(206, 56%, 38%)
HSVhsv(206, 72%, 59%)
CMYKcmyk(72.2%, 31.1%, 0%, 40.8%)
CIE-LABlab(42.19, -3.62, -31.38)
CIE-LCHlch(42.19, 31.59, 263.43°)
OKLaboklab(49.95% -0.042 -0.0888)
OKLCHoklch(49.95% 0.098 244.7)
XYZxyz(11.4889, 12.6260, 31.1037)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6897 #97592A
analogous
#2A9790 #2A6897 #2A3197
triadic
#2A6897 #972A68 #68972A
tetradic
#2A6897 #902A97 #97592A #31972A
square
#2A6897 #902A97 #97592A #31972A
split-complementary
#2A6897 #972A31 #97902A
monochromatic
#0F2637 #1D4767 #2A6897 #3789C7 #67A5D5

Accessibility & contrast

On white

5.96
#2A6897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2A6897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6897
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6897#FFFFFF#000000##FFFFFF
##2A68971.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536999
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a6897;
/* rgb */ color: rgb(42, 104, 151);
/* oklch */ color: oklch(50.0% 0.098 244.7);
Tailwind
colors: {
  custom: {
    50: '#7292b6',
    500: '#2a6897',
    950: '#000000',
  },
}
SCSS
$custom: #2a6897;
$custom-light: #7292b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6897",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 151
  },
  "hsl": {
    "h": 205.872,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49954,
    "c": 0.09825,
    "h": 244.7
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#2A6897
secondary
#BB8862
accent
#8948E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #2A6897

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

Preview Lab → · Contrast checker → · Palette generator →

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