#2A6794#2A6794

#2A6794 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.5% C 0.095 H 243.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2A6794
RGBrgb(42, 103, 148)
HSLhsl(205, 56%, 37%)
HSVhsv(205, 72%, 58%)
CMYKcmyk(71.6%, 30.4%, 0%, 42%)
CIE-LABlab(41.74, -4.11, -30.31)
CIE-LCHlch(41.74, 30.59, 262.29°)
OKLaboklab(49.54% -0.042 -0.0857)
OKLCHoklch(49.54% 0.095 243.9)
XYZxyz(11.1483, 12.3296, 29.8035)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6794 #94572A
analogous
#2A948C #2A6794 #2A3294
triadic
#2A6794 #942A67 #67942A
tetradic
#2A6794 #8C2A94 #94572A #32942A
square
#2A6794 #8C2A94 #94572A #32942A
split-complementary
#2A6794 #942A32 #948C2A
monochromatic
#0F2535 #1C4664 #2A6794 #3888C4 #65A5D3

Accessibility & contrast

On white

6.06
#2A6794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2A6794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6794
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6794#FFFFFF#000000##FFFFFF
##2A67941.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536896
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a6794;
/* rgb */ color: rgb(42, 103, 148);
/* oklch */ color: oklch(49.5% 0.095 243.9);
Tailwind
colors: {
  custom: {
    50: '#7192b3',
    500: '#2a6794',
    950: '#000000',
  },
}
SCSS
$custom: #2a6794;
$custom-light: #7192b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6794",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 148
  },
  "hsl": {
    "h": 205.472,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49542,
    "c": 0.09543,
    "h": 243.9
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#2A6794
secondary
#B98660
accent
#8949DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2A6794

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

Preview Lab → · Contrast checker → · Palette generator →

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