#2A7286#2A7286

#2A7286 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.6% C 0.077 H 219.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2A7286
RGBrgb(42, 114, 134)
HSLhsl(193, 52%, 35%)
HSVhsv(193, 69%, 53%)
CMYKcmyk(68.7%, 14.9%, 0%, 47.5%)
CIE-LABlab(44.59, -15.48, -17.53)
CIE-LCHlch(44.59, 23.38, 228.56°)
OKLaboklab(51.61% -0.0591 -0.0489)
OKLCHoklch(51.61% 0.077 219.6)
XYZxyz(11.2735, 14.2469, 24.7054)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7286 #863E2A
analogous
#2A866C #2A7286 #2A4486
triadic
#2A7286 #862A72 #72862A
tetradic
#2A7286 #6C2A86 #863E2A #44862A
square
#2A7286 #6C2A86 #863E2A #44862A
split-complementary
#2A7286 #862A44 #866C2A
monochromatic
#0D2329 #1B4A57 #2A7286 #399AB5 #5EB4CD

Accessibility & contrast

On white

5.46
#2A7286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A7286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7286
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7286#FFFFFF#000000##FFFFFF
##2A72861.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666F87
Deuteranopia (green-blind)
#596586
Tritanopia (blue-blind)
#007978
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7286;
/* rgb */ color: rgb(42, 114, 134);
/* oklch */ color: oklch(51.6% 0.077 219.6);
Tailwind
colors: {
  custom: {
    50: '#709aa9',
    500: '#2a7286',
    950: '#000000',
  },
}
SCSS
$custom: #2a7286;
$custom-light: #709aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7286",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 134
  },
  "hsl": {
    "h": 193.043,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.51606,
    "c": 0.07666,
    "h": 219.6
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#2A7286
secondary
#B26D5A
accent
#6B4CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7286

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

Preview Lab → · Contrast checker → · Palette generator →

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