#2A6F8D#2A6F8D

#2A6F8D is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.2% C 0.083 H 230.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2A6F8D
RGBrgb(42, 111, 141)
HSLhsl(198, 54%, 36%)
HSVhsv(198, 70%, 55%)
CMYKcmyk(70.2%, 21.3%, 0%, 44.7%)
CIE-LABlab(43.92, -11.37, -22.73)
CIE-LCHlch(43.92, 25.41, 243.42°)
OKLaboklab(51.17% -0.053 -0.0637)
OKLCHoklch(51.17% 0.083 230.3)
XYZxyz(11.4451, 13.7830, 27.2513)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F8D #8D482A
analogous
#2A8D79 #2A6F8D #2A3D8D
triadic
#2A6F8D #8D2A6F #6F8D2A
tetradic
#2A6F8D #792A8D #8D482A #3D8D2A
square
#2A6F8D #792A8D #8D482A #3D8D2A
split-complementary
#2A6F8D #8D2A3D #8D792A
monochromatic
#0E252F #1C4A5E #2A6F8D #3894BC #61AFD0

Accessibility & contrast

On white

5.59
#2A6F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2A6F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F8D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F8D#FFFFFF#000000##FFFFFF
##2A6F8D1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8E
Deuteranopia (green-blind)
#52638D
Tritanopia (blue-blind)
#007779
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6f8d;
/* rgb */ color: rgb(42, 111, 141);
/* oklch */ color: oklch(51.2% 0.083 230.3);
Tailwind
colors: {
  custom: {
    50: '#7098ae',
    500: '#2a6f8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f8d;
$custom-light: #7098ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f8d",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 141
  },
  "hsl": {
    "h": 198.182,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.08285,
    "h": 230.3
  },
  "luminance": 0.13784
}

Semantic roles & 50–950 ramp

primary
#2A6F8D
secondary
#B6785D
accent
#774ADD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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