#2A6D8A#2A6D8A

#2A6D8A is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 50.5% C 0.081 H 230.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A6D8A
RGBrgb(42, 109, 138)
HSLhsl(198, 53%, 35%)
HSVhsv(198, 70%, 54%)
CMYKcmyk(69.6%, 21%, 0%, 45.9%)
CIE-LABlab(43.16, -11.26, -22.12)
CIE-LCHlch(43.16, 24.82, 243.02°)
OKLaboklab(50.52% -0.0519 -0.062)
OKLCHoklch(50.52% 0.081 230)
XYZxyz(11.0091, 13.2633, 26.0197)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D8A #8A472A
analogous
#2A8A77 #2A6D8A #2A3D8A
triadic
#2A6D8A #8A2A6D #6D8A2A
tetradic
#2A6D8A #772A8A #8A472A #3D8A2A
square
#2A6D8A #772A8A #8A472A #3D8A2A
split-complementary
#2A6D8A #8A2A3D #8A772A
monochromatic
#0D232C #1C485B #2A6D8A #3892B9 #60ADCF

Accessibility & contrast

On white

5.75
#2A6D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2A6D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D8A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D8A#FFFFFF#000000##FFFFFF
##2A6D8A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6d8a;
/* rgb */ color: rgb(42, 109, 138);
/* oklch */ color: oklch(50.5% 0.081 230.0);
Tailwind
colors: {
  custom: {
    50: '#7096ac',
    500: '#2a6d8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d8a;
$custom-light: #7096ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d8a",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 138
  },
  "hsl": {
    "h": 198.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.08086,
    "h": 230
  },
  "luminance": 0.13264
}

Semantic roles & 50–950 ramp

primary
#2A6D8A
secondary
#B4765B
accent
#774BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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