#2A6D8B#2A6D8B

#2A6D8B is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 50.6% C 0.082 H 230.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2A6D8B
RGBrgb(42, 109, 139)
HSLhsl(199, 54%, 35%)
HSVhsv(199, 70%, 55%)
CMYKcmyk(69.8%, 21.6%, 0%, 45.5%)
CIE-LABlab(43.20, -10.91, -22.65)
CIE-LCHlch(43.20, 25.14, 244.28°)
OKLaboklab(50.57% -0.0516 -0.0635)
OKLCHoklch(50.57% 0.082 230.9)
XYZxyz(11.0818, 13.2924, 26.4027)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D8B #8B482A
analogous
#2A8B78 #2A6D8B #2A3C8B
triadic
#2A6D8B #8B2A6D #6D8B2A
tetradic
#2A6D8B #782A8B #8B482A #3C8B2A
square
#2A6D8B #782A8B #8B482A #3C8B2A
split-complementary
#2A6D8B #8B2A3C #8B782A
monochromatic
#0E232D #1C485C #2A6D8B #3892BA #60ADCF

Accessibility & contrast

On white

5.74
#2A6D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2A6D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D8B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D8B#FFFFFF#000000##FFFFFF
##2A6D8B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8C
Deuteranopia (green-blind)
#51628B
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a6d8b;
/* rgb */ color: rgb(42, 109, 139);
/* oklch */ color: oklch(50.6% 0.082 230.9);
Tailwind
colors: {
  custom: {
    50: '#7096ad',
    500: '#2a6d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d8b;
$custom-light: #7096ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d8b",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 139
  },
  "hsl": {
    "h": 198.557,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.0818,
    "h": 230.9
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#2A6D8B
secondary
#B5775C
accent
#784BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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