#2A7186#2A7186

#2A7186 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.3% C 0.077 H 220.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2A7186
RGBrgb(42, 113, 134)
HSLhsl(194, 52%, 35%)
HSVhsv(194, 69%, 53%)
CMYKcmyk(68.7%, 15.7%, 0%, 47.5%)
CIE-LABlab(44.27, -14.92, -18.02)
CIE-LCHlch(44.27, 23.39, 230.38°)
OKLaboklab(51.35% -0.058 -0.0503)
OKLCHoklch(51.35% 0.077 220.9)
XYZxyz(11.1613, 14.0225, 24.6680)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7186 #863F2A
analogous
#2A866D #2A7186 #2A4386
triadic
#2A7186 #862A71 #71862A
tetradic
#2A7186 #6D2A86 #863F2A #43862A
square
#2A7186 #6D2A86 #863F2A #43862A
split-complementary
#2A7186 #862A43 #866D2A
monochromatic
#0D2229 #1B4A57 #2A7186 #3998B5 #5EB3CD

Accessibility & contrast

On white

5.52
#2A7186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2A7186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7186
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7186#FFFFFF#000000##FFFFFF
##2A71861.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646E87
Deuteranopia (green-blind)
#576586
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7186;
/* rgb */ color: rgb(42, 113, 134);
/* oklch */ color: oklch(51.3% 0.077 220.9);
Tailwind
colors: {
  custom: {
    50: '#6f9aa9',
    500: '#2a7186',
    950: '#000000',
  },
}
SCSS
$custom: #2a7186;
$custom-light: #6f9aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7186",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 134
  },
  "hsl": {
    "h": 193.696,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.07671,
    "h": 220.9
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#2A7186
secondary
#B26E5A
accent
#6D4CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7186

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

Preview Lab → · Contrast checker → · Palette generator →

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