#2A6E8D#2A6E8D

#2A6E8D is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 50.9% C 0.083 H 231.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2A6E8D
RGBrgb(42, 110, 141)
HSLhsl(199, 54%, 36%)
HSVhsv(199, 70%, 55%)
CMYKcmyk(70.2%, 22%, 0%, 44.7%)
CIE-LABlab(43.60, -10.79, -23.22)
CIE-LCHlch(43.60, 25.60, 245.07°)
OKLaboklab(50.92% -0.0519 -0.0651)
OKLCHoklch(50.92% 0.083 231.5)
XYZxyz(11.3366, 13.5659, 27.2152)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E8D #8D492A
analogous
#2A8D7A #2A6E8D #2A3C8D
triadic
#2A6E8D #8D2A6E #6E8D2A
tetradic
#2A6E8D #7A2A8D #8D492A #3C8D2A
square
#2A6E8D #7A2A8D #8D492A #3C8D2A
split-complementary
#2A6E8D #8D2A3C #8D7A2A
monochromatic
#0E242F #1C495E #2A6E8D #3893BC #61ADD0

Accessibility & contrast

On white

5.66
#2A6E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2A6E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E8D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E8D#FFFFFF#000000##FFFFFF
##2A6E8D1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D8F
Deuteranopia (green-blind)
#51638D
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a6e8d;
/* rgb */ color: rgb(42, 110, 141);
/* oklch */ color: oklch(50.9% 0.083 231.5);
Tailwind
colors: {
  custom: {
    50: '#7097ae',
    500: '#2a6e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e8d;
$custom-light: #7097ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e8d",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 141
  },
  "hsl": {
    "h": 198.788,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.08327,
    "h": 231.5
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#2A6E8D
secondary
#B6795D
accent
#784ADD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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