#2A7281#2A7281

#2A7281 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.4% C 0.074 H 214.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A7281
RGBrgb(42, 114, 129)
HSLhsl(190, 51%, 34%)
HSVhsv(190, 67%, 51%)
CMYKcmyk(67.4%, 11.6%, 0%, 49.4%)
CIE-LABlab(44.39, -17.14, -14.84)
CIE-LCHlch(44.39, 22.67, 220.88°)
OKLaboklab(51.39% -0.0612 -0.0412)
OKLCHoklch(51.39% 0.074 214)
XYZxyz(10.9330, 14.1107, 22.9121)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7281 #81392A
analogous
#2A8164 #2A7281 #2A4681
triadic
#2A7281 #812A72 #72812A
tetradic
#2A7281 #642A81 #81392A #46812A
square
#2A7281 #642A81 #81392A #46812A
split-complementary
#2A7281 #812A46 #81642A
monochromatic
#0C2025 #1B4953 #2A7281 #399BAF #5CB7CA

Accessibility & contrast

On white

5.49
#2A7281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2A7281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7281
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7281#FFFFFF#000000##FFFFFF
##2A72811.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676E82
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#007877
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7281;
/* rgb */ color: rgb(42, 114, 129);
/* oklch */ color: oklch(51.4% 0.074 214.0);
Tailwind
colors: {
  custom: {
    50: '#6f9aa5',
    500: '#2a7281',
    950: '#000000',
  },
}
SCSS
$custom: #2a7281;
$custom-light: #6f9aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7281",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 129
  },
  "hsl": {
    "h": 190.345,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.07379,
    "h": 214
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#2A7281
secondary
#AF6757
accent
#664DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7281

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

Preview Lab → · Contrast checker → · Palette generator →

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