#2A7285#2A7285

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

Color values

HEX#2A7285
RGBrgb(42, 114, 133)
HSLhsl(193, 52%, 34%)
HSVhsv(193, 68%, 52%)
CMYKcmyk(68.4%, 14.3%, 0%, 47.8%)
CIE-LABlab(44.55, -15.81, -16.99)
CIE-LCHlch(44.55, 23.21, 227.06°)
OKLaboklab(51.56% -0.0595 -0.0473)
OKLCHoklch(51.56% 0.076 218.5)
XYZxyz(11.2041, 14.2191, 24.3398)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7285 #853D2A
analogous
#2A856B #2A7285 #2A4585
triadic
#2A7285 #852A72 #72852A
tetradic
#2A7285 #6B2A85 #853D2A #45852A
square
#2A7285 #6B2A85 #853D2A #45852A
split-complementary
#2A7285 #852A45 #856B2A
monochromatic
#0D2228 #1B4A56 #2A7285 #399AB4 #5DB5CC

Accessibility & contrast

On white

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

On black

3.84
#2A7285 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7285#FFFFFF#000000##FFFFFF
##2A72851.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666F86
Deuteranopia (green-blind)
#596585
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7285;
/* rgb */ color: rgb(42, 114, 133);
/* oklch */ color: oklch(51.6% 0.076 218.5);
Tailwind
colors: {
  custom: {
    50: '#6f9aa8',
    500: '#2a7285',
    950: '#000000',
  },
}
SCSS
$custom: #2a7285;
$custom-light: #6f9aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7285",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 133
  },
  "hsl": {
    "h": 192.527,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.07602,
    "h": 218.5
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#2A7285
secondary
#B26C59
accent
#6A4CDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7285

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

Preview Lab → · Contrast checker → · Palette generator →

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