#2A6D9C#2A6D9C

#2A6D9C is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.4% C 0.100 H 242.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2A6D9C
RGBrgb(42, 109, 156)
HSLhsl(205, 58%, 39%)
HSVhsv(205, 73%, 61%)
CMYKcmyk(73.1%, 30.1%, 0%, 38.8%)
CIE-LABlab(43.99, -4.82, -31.54)
CIE-LCHlch(43.99, 31.91, 261.31°)
OKLaboklab(51.45% -0.0455 -0.0892)
OKLCHoklch(51.45% 0.1 242.9)
XYZxyz(12.4219, 13.8284, 33.4605)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D9C #9C592A
analogous
#2A9C92 #2A6D9C #2A349C
triadic
#2A6D9C #9C2A6D #6D9C2A
tetradic
#2A6D9C #922A9C #9C592A #349C2A
square
#2A6D9C #922A9C #9C592A #349C2A
split-complementary
#2A6D9C #9C2A34 #9C922A
monochromatic
#102A3C #1D4B6C #2A6D9C #398ECA #6AAAD7

Accessibility & contrast

On white

5.58
#2A6D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2A6D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D9C
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D9C#FFFFFF#000000##FFFFFF
##2A6D9C1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576E9E
Deuteranopia (green-blind)
#48639B
Tritanopia (blue-blind)
#00797E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6d9c;
/* rgb */ color: rgb(42, 109, 156);
/* oklch */ color: oklch(51.4% 0.100 242.9);
Tailwind
colors: {
  custom: {
    50: '#7396b9',
    500: '#2a6d9c',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d9c;
$custom-light: #7396b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d9c",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 156
  },
  "hsl": {
    "h": 204.737,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.10015,
    "h": 242.9
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#2A6D9C
secondary
#BD8965
accent
#8647E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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