#2A6997#2A6997

#2A6997 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.2% C 0.097 H 243.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2A6997
RGBrgb(42, 105, 151)
HSLhsl(205, 56%, 38%)
HSVhsv(205, 72%, 59%)
CMYKcmyk(72.2%, 30.5%, 0%, 40.8%)
CIE-LABlab(42.50, -4.23, -30.90)
CIE-LCHlch(42.50, 31.19, 262.21°)
OKLaboklab(50.2% -0.0431 -0.0874)
OKLCHoklch(50.2% 0.097 243.8)
XYZxyz(11.5902, 12.8285, 31.1375)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6997 #97582A
analogous
#2A978E #2A6997 #2A3297
triadic
#2A6997 #972A69 #69972A
tetradic
#2A6997 #8E2A97 #97582A #32972A
square
#2A6997 #8E2A97 #97582A #32972A
split-complementary
#2A6997 #972A32 #978E2A
monochromatic
#0F2637 #1D4867 #2A6997 #378AC7 #67A6D5

Accessibility & contrast

On white

5.89
#2A6997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2A6997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6997
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6997#FFFFFF#000000##FFFFFF
##2A69971.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a6997;
/* rgb */ color: rgb(42, 105, 151);
/* oklch */ color: oklch(50.2% 0.097 243.8);
Tailwind
colors: {
  custom: {
    50: '#7293b6',
    500: '#2a6997',
    950: '#000000',
  },
}
SCSS
$custom: #2a6997;
$custom-light: #7293b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6997",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 205.321,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.09741,
    "h": 243.8
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#2A6997
secondary
#BB8762
accent
#8848E0
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6997

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

Preview Lab → · Contrast checker → · Palette generator →

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