#2A6B9E#2A6B9E

#2A6B9E is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 51.1% C 0.104 H 245.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A6B9E
RGBrgb(42, 107, 158)
HSLhsl(206, 58%, 39%)
HSVhsv(206, 73%, 62%)
CMYKcmyk(73.4%, 32.3%, 0%, 38%)
CIE-LABlab(43.47, -2.87, -33.54)
CIE-LCHlch(43.47, 33.66, 265.10°)
OKLaboklab(51.08% -0.0429 -0.095)
OKLCHoklch(51.08% 0.104 245.7)
XYZxyz(12.3817, 13.4749, 34.2895)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6B9E #9E5D2A
analogous
#2A9E97 #2A6B9E #2A319E
triadic
#2A6B9E #9E2A6B #6B9E2A
tetradic
#2A6B9E #972A9E #9E5D2A #319E2A
square
#2A6B9E #972A9E #9E5D2A #319E2A
split-complementary
#2A6B9E #9E2A31 #9E972A
monochromatic
#102A3D #1D4A6E #2A6B9E #3A8BCB #6BA8D8

Accessibility & contrast

On white

5.68
#2A6B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2A6B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6B9E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6B9E#FFFFFF#000000##FFFFFF
##2A6B9E1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546DA0
Deuteranopia (green-blind)
#44629D
Tritanopia (blue-blind)
#00777D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a6b9e;
/* rgb */ color: rgb(42, 107, 158);
/* oklch */ color: oklch(51.1% 0.104 245.7);
Tailwind
colors: {
  custom: {
    50: '#7395bb',
    500: '#2a6b9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a6b9e;
$custom-light: #7395bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6b9e",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 158
  },
  "hsl": {
    "h": 206.379,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.10426,
    "h": 245.7
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#2A6B9E
secondary
#BE8D66
accent
#8B47E1
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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