#2A6995#2A6995

#2A6995 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.1% C 0.095 H 242.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2A6995
RGBrgb(42, 105, 149)
HSLhsl(205, 56%, 37%)
HSVhsv(205, 72%, 58%)
CMYKcmyk(71.8%, 29.5%, 0%, 41.6%)
CIE-LABlab(42.41, -4.96, -29.86)
CIE-LCHlch(42.41, 30.27, 260.57°)
OKLaboklab(50.09% -0.0437 -0.0843)
OKLCHoklch(50.09% 0.095 242.6)
XYZxyz(11.4292, 12.7641, 30.2893)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6995 #95562A
analogous
#2A958C #2A6995 #2A3395
triadic
#2A6995 #952A69 #69952A
tetradic
#2A6995 #8C2A95 #95562A #33952A
square
#2A6995 #8C2A95 #95562A #33952A
split-complementary
#2A6995 #952A33 #958C2A
monochromatic
#0F2636 #1D4765 #2A6995 #378BC5 #66A6D4

Accessibility & contrast

On white

5.91
#2A6995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2A6995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6995
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6995#FFFFFF#000000##FFFFFF
##2A69951.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A97
Deuteranopia (green-blind)
#466094
Tritanopia (blue-blind)
#007478
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a6995;
/* rgb */ color: rgb(42, 105, 149);
/* oklch */ color: oklch(50.1% 0.095 242.6);
Tailwind
colors: {
  custom: {
    50: '#7193b4',
    500: '#2a6995',
    950: '#000000',
  },
}
SCSS
$custom: #2a6995;
$custom-light: #7193b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6995",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 149
  },
  "hsl": {
    "h": 204.673,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50088,
    "c": 0.09501,
    "h": 242.6
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#2A6995
secondary
#BA8561
accent
#8748DF
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6995

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

Preview Lab → · Contrast checker → · Palette generator →

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