#2A6984#2A6984

#2A6984 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.2% C 0.077 H 229.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2A6984
RGBrgb(42, 105, 132)
HSLhsl(198, 52%, 34%)
HSVhsv(198, 68%, 52%)
CMYKcmyk(68.2%, 20.5%, 0%, 48.2%)
CIE-LABlab(41.63, -11.02, -20.88)
CIE-LCHlch(41.63, 23.61, 242.17°)
OKLaboklab(49.21% -0.0499 -0.0584)
OKLCHoklch(49.21% 0.077 229.5)
XYZxyz(10.1696, 12.2603, 23.6558)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6984 #84452A
analogous
#2A8472 #2A6984 #2A3C84
triadic
#2A6984 #842A69 #69842A
tetradic
#2A6984 #722A84 #84452A #3C842A
square
#2A6984 #722A84 #84452A #3C842A
split-complementary
#2A6984 #842A3C #84722A
monochromatic
#0C1F27 #1B4456 #2A6984 #398EB2 #5DAACB

Accessibility & contrast

On white

6.08
#2A6984 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2A6984 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6984
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6984#FFFFFF#000000##FFFFFF
##2A69841.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6785
Deuteranopia (green-blind)
#4F5E84
Tritanopia (blue-blind)
#007172
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a6984;
/* rgb */ color: rgb(42, 105, 132);
/* oklch */ color: oklch(49.2% 0.077 229.5);
Tailwind
colors: {
  custom: {
    50: '#6f93a8',
    500: '#2a6984',
    950: '#000000',
  },
}
SCSS
$custom: #2a6984;
$custom-light: #6f93a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6984",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 132
  },
  "hsl": {
    "h": 198,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.07682,
    "h": 229.5
  },
  "luminance": 0.12261
}

Semantic roles & 50–950 ramp

primary
#2A6984
secondary
#B17359
accent
#774DDB
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #2A6984

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

Preview Lab → · Contrast checker → · Palette generator →

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