#2A6C9D#2A6C9D

#2A6C9D is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.3% C 0.102 H 244.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2A6C9D
RGBrgb(42, 108, 157)
HSLhsl(206, 58%, 39%)
HSVhsv(206, 73%, 62%)
CMYKcmyk(73.2%, 31.2%, 0%, 38.4%)
CIE-LABlab(43.73, -3.85, -32.54)
CIE-LCHlch(43.73, 32.77, 263.25°)
OKLaboklab(51.26% -0.0442 -0.0921)
OKLCHoklch(51.26% 0.102 244.4)
XYZxyz(12.4009, 13.6503, 33.8730)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C9D #9D5B2A
analogous
#2A9D95 #2A6C9D #2A339D
triadic
#2A6C9D #9D2A6C #6C9D2A
tetradic
#2A6C9D #952A9D #9D5B2A #339D2A
square
#2A6C9D #952A9D #9D5B2A #339D2A
split-complementary
#2A6C9D #9D2A33 #9D952A
monochromatic
#102A3C #1D4B6D #2A6C9D #3A8DCA #6AA9D7

Accessibility & contrast

On white

5.63
#2A6C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2A6C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6C9D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6C9D#FFFFFF#000000##FFFFFF
##2A6C9D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566D9F
Deuteranopia (green-blind)
#46629C
Tritanopia (blue-blind)
#00787D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a6c9d;
/* rgb */ color: rgb(42, 108, 157);
/* oklch */ color: oklch(51.3% 0.102 244.4);
Tailwind
colors: {
  custom: {
    50: '#7395ba',
    500: '#2a6c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c9d;
$custom-light: #7395ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c9d",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 157
  },
  "hsl": {
    "h": 205.565,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.10217,
    "h": 244.4
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#2A6C9D
secondary
#BE8B65
accent
#8847E1
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2A6C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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