#2A7284#2A7284

#2A7284 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.5% C 0.075 H 217.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2A7284
RGBrgb(42, 114, 132)
HSLhsl(192, 52%, 34%)
HSVhsv(192, 68%, 52%)
CMYKcmyk(68.2%, 13.6%, 0%, 48.2%)
CIE-LABlab(44.51, -16.15, -16.45)
CIE-LCHlch(44.51, 23.05, 225.54°)
OKLaboklab(51.52% -0.0599 -0.0458)
OKLCHoklch(51.52% 0.075 217.4)
XYZxyz(11.1353, 14.1916, 23.9777)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7284 #843C2A
analogous
#2A8469 #2A7284 #2A4584
triadic
#2A7284 #842A72 #72842A
tetradic
#2A7284 #692A84 #843C2A #45842A
square
#2A7284 #692A84 #843C2A #45842A
split-complementary
#2A7284 #842A45 #84692A
monochromatic
#0C2227 #1B4A56 #2A7284 #399AB2 #5DB5CB

Accessibility & contrast

On white

5.47
#2A7284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7284
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7284#FFFFFF#000000##FFFFFF
##2A72841.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7284;
/* rgb */ color: rgb(42, 114, 132);
/* oklch */ color: oklch(51.5% 0.075 217.4);
Tailwind
colors: {
  custom: {
    50: '#6f9aa7',
    500: '#2a7284',
    950: '#000000',
  },
}
SCSS
$custom: #2a7284;
$custom-light: #6f9aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7284",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 132
  },
  "hsl": {
    "h": 192,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.07542,
    "h": 217.4
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#2A7284
secondary
#B16A59
accent
#694DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7284

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

Preview Lab → · Contrast checker → · Palette generator →

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