#2A6C8A#2A6C8A

#2A6C8A is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.3% C 0.081 H 231.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2A6C8A
RGBrgb(42, 108, 138)
HSLhsl(199, 53%, 35%)
HSVhsv(199, 70%, 54%)
CMYKcmyk(69.6%, 21.7%, 0%, 45.9%)
CIE-LABlab(42.84, -10.68, -22.61)
CIE-LCHlch(42.84, 25.00, 244.72°)
OKLaboklab(50.27% -0.0509 -0.0634)
OKLCHoklch(50.27% 0.081 231.3)
XYZxyz(10.9030, 13.0512, 25.9843)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C8A #8A482A
analogous
#2A8A78 #2A6C8A #2A3C8A
triadic
#2A6C8A #8A2A6C #6C8A2A
tetradic
#2A6C8A #782A8A #8A482A #3C8A2A
square
#2A6C8A #782A8A #8A482A #3C8A2A
split-complementary
#2A6C8A #8A2A3C #8A782A
monochromatic
#0D232C #1C475B #2A6C8A #3891B9 #60ACCF

Accessibility & contrast

On white

5.82
#2A6C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2A6C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6C8A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6C8A#FFFFFF#000000##FFFFFF
##2A6C8A1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8B
Deuteranopia (green-blind)
#50618A
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a6c8a;
/* rgb */ color: rgb(42, 108, 138);
/* oklch */ color: oklch(50.3% 0.081 231.3);
Tailwind
colors: {
  custom: {
    50: '#7096ac',
    500: '#2a6c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c8a;
$custom-light: #7096ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c8a",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 198.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.50266,
    "c": 0.08126,
    "h": 231.3
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#2A6C8A
secondary
#B4775B
accent
#794BDD
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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