#2A6C8E#2A6C8E

#2A6C8E is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.5% C 0.085 H 234.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2A6C8E
RGBrgb(42, 108, 142)
HSLhsl(200, 54%, 36%)
HSVhsv(200, 70%, 56%)
CMYKcmyk(70.4%, 23.9%, 0%, 44.3%)
CIE-LABlab(43.02, -9.27, -24.73)
CIE-LCHlch(43.02, 26.41, 249.45°)
OKLaboklab(50.47% -0.0494 -0.0695)
OKLCHoklch(50.47% 0.085 234.6)
XYZxyz(11.1980, 13.1691, 27.5377)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C8E #8E4C2A
analogous
#2A8E7E #2A6C8E #2A3A8E
triadic
#2A6C8E #8E2A6C #6C8E2A
tetradic
#2A6C8E #7E2A8E #8E4C2A #3A8E2A
square
#2A6C8E #7E2A8E #8E4C2A #3A8E2A
split-complementary
#2A6C8E #8E2A3A #8E7E2A
monochromatic
#0E2430 #1C485F #2A6C8E #3890BD #62ABD1

Accessibility & contrast

On white

5.78
#2A6C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2A6C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6C8E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6C8E#FFFFFF#000000##FFFFFF
##2A6C8E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B90
Deuteranopia (green-blind)
#4E618D
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a6c8e;
/* rgb */ color: rgb(42, 108, 142);
/* oklch */ color: oklch(50.5% 0.085 234.6);
Tailwind
colors: {
  custom: {
    50: '#7096af',
    500: '#2a6c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c8e;
$custom-light: #7096af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c8e",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 142
  },
  "hsl": {
    "h": 200.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.08522,
    "h": 234.6
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#2A6C8E
secondary
#B67C5D
accent
#7C4ADE
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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