#2A6795#2A6795

#2A6795 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.6% C 0.097 H 244.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2A6795
RGBrgb(42, 103, 149)
HSLhsl(206, 56%, 37%)
HSVhsv(206, 72%, 58%)
CMYKcmyk(71.8%, 30.9%, 0%, 41.6%)
CIE-LABlab(41.78, -3.74, -30.83)
CIE-LCHlch(41.78, 31.06, 263.08°)
OKLaboklab(49.6% -0.0416 -0.0872)
OKLCHoklch(49.6% 0.097 244.5)
XYZxyz(11.2278, 12.3614, 30.2222)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6795 #95582A
analogous
#2A958D #2A6795 #2A3295
triadic
#2A6795 #952A67 #67952A
tetradic
#2A6795 #8D2A95 #95582A #32952A
square
#2A6795 #8D2A95 #95582A #32952A
split-complementary
#2A6795 #952A32 #958D2A
monochromatic
#0F2536 #1D4665 #2A6795 #3788C5 #66A4D4

Accessibility & contrast

On white

6.05
#2A6795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6795
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6795#FFFFFF#000000##FFFFFF
##2A67951.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526897
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a6795;
/* rgb */ color: rgb(42, 103, 149);
/* oklch */ color: oklch(49.6% 0.097 244.5);
Tailwind
colors: {
  custom: {
    50: '#7192b4',
    500: '#2a6795',
    950: '#000000',
  },
}
SCSS
$custom: #2a6795;
$custom-light: #7192b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6795",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 205.794,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49598,
    "c": 0.09664,
    "h": 244.5
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#2A6795
secondary
#BA8761
accent
#8948DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2A6795

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

Preview Lab → · Contrast checker → · Palette generator →

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