#2A6A9D#2A6A9D

#2A6A9D is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.8% C 0.104 H 246.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2A6A9D
RGBrgb(42, 106, 157)
HSLhsl(207, 58%, 39%)
HSVhsv(207, 73%, 62%)
CMYKcmyk(73.2%, 32.5%, 0%, 38.4%)
CIE-LABlab(43.11, -2.63, -33.51)
CIE-LCHlch(43.11, 33.61, 265.51°)
OKLaboklab(50.78% -0.0422 -0.095)
OKLCHoklch(50.78% 0.104 246)
XYZxyz(12.1924, 13.2333, 33.8035)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6A9D #9D5D2A
analogous
#2A9D97 #2A6A9D #2A309D
triadic
#2A6A9D #9D2A6A #6A9D2A
tetradic
#2A6A9D #972A9D #9D5D2A #309D2A
square
#2A6A9D #972A9D #9D5D2A #309D2A
split-complementary
#2A6A9D #9D2A30 #9D972A
monochromatic
#10293C #1D496D #2A6A9D #3A8ACA #6AA7D7

Accessibility & contrast

On white

5.76
#2A6A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6A9D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6A9D#FFFFFF#000000##FFFFFF
##2A6A9D1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536C9F
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#00767C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a6a9d;
/* rgb */ color: rgb(42, 106, 157);
/* oklch */ color: oklch(50.8% 0.104 246.0);
Tailwind
colors: {
  custom: {
    50: '#7394ba',
    500: '#2a6a9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6a9d;
$custom-light: #7394ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6a9d",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 157
  },
  "hsl": {
    "h": 206.609,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.10391,
    "h": 246
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#2A6A9D
secondary
#BE8C65
accent
#8B47E1
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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