#2A6884#2A6884

#2A6884 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.0% C 0.077 H 230.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2A6884
RGBrgb(42, 104, 132)
HSLhsl(199, 52%, 34%)
HSVhsv(199, 68%, 52%)
CMYKcmyk(68.2%, 21.2%, 0%, 48.2%)
CIE-LABlab(41.31, -10.44, -21.37)
CIE-LCHlch(41.31, 23.78, 243.97°)
OKLaboklab(48.96% -0.0488 -0.0598)
OKLCHoklch(48.96% 0.077 230.8)
XYZxyz(10.0684, 12.0577, 23.6221)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6884 #84462A
analogous
#2A8473 #2A6884 #2A3B84
triadic
#2A6884 #842A68 #68842A
tetradic
#2A6884 #732A84 #84462A #3B842A
square
#2A6884 #732A84 #84462A #3B842A
split-complementary
#2A6884 #842A3B #84732A
monochromatic
#0C1F27 #1B4356 #2A6884 #398DB2 #5DA9CB

Accessibility & contrast

On white

6.16
#2A6884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2A6884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6884
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6884#FFFFFF#000000##FFFFFF
##2A68841.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6785
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#007071
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6884;
/* rgb */ color: rgb(42, 104, 132);
/* oklch */ color: oklch(49.0% 0.077 230.8);
Tailwind
colors: {
  custom: {
    50: '#6e93a8',
    500: '#2a6884',
    950: '#000000',
  },
}
SCSS
$custom: #2a6884;
$custom-light: #6e93a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6884",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 132
  },
  "hsl": {
    "h": 198.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.48958,
    "c": 0.0772,
    "h": 230.8
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#2A6884
secondary
#B17459
accent
#794DDB
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #2A6884

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

Preview Lab → · Contrast checker → · Palette generator →

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