#2A6F8A#2A6F8A

#2A6F8A is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.0% C 0.080 H 227.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2A6F8A
RGBrgb(42, 111, 138)
HSLhsl(197, 53%, 35%)
HSVhsv(197, 70%, 54%)
CMYKcmyk(69.6%, 19.6%, 0%, 45.9%)
CIE-LABlab(43.79, -12.41, -21.14)
CIE-LCHlch(43.79, 24.51, 239.57°)
OKLaboklab(51.03% -0.0541 -0.0591)
OKLCHoklch(51.03% 0.08 227.5)
XYZxyz(11.2249, 13.6949, 26.0916)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F8A #8A452A
analogous
#2A8A75 #2A6F8A #2A3F8A
triadic
#2A6F8A #8A2A6F #6F8A2A
tetradic
#2A6F8A #752A8A #8A452A #3F8A2A
square
#2A6F8A #752A8A #8A452A #3F8A2A
split-complementary
#2A6F8A #8A2A3F #8A752A
monochromatic
#0D242C #1C495B #2A6F8A #3895B9 #60AFCF

Accessibility & contrast

On white

5.62
#2A6F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2A6F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F8A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F8A#FFFFFF#000000##FFFFFF
##2A6F8A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616D8B
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#007778
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a6f8a;
/* rgb */ color: rgb(42, 111, 138);
/* oklch */ color: oklch(51.0% 0.080 227.5);
Tailwind
colors: {
  custom: {
    50: '#7098ac',
    500: '#2a6f8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f8a;
$custom-light: #7098ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f8a",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 138
  },
  "hsl": {
    "h": 196.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.51026,
    "c": 0.08018,
    "h": 227.5
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#2A6F8A
secondary
#B4745B
accent
#744BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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