#2A6F8E#2A6F8E

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

Color values

HEX#2A6F8E
RGBrgb(42, 111, 142)
HSLhsl(199, 54%, 36%)
HSVhsv(199, 70%, 56%)
CMYKcmyk(70.4%, 21.8%, 0%, 44.3%)
CIE-LABlab(43.96, -11.02, -23.26)
CIE-LCHlch(43.96, 25.74, 244.65°)
OKLaboklab(51.22% -0.0526 -0.0652)
OKLCHoklch(51.22% 0.084 231.1)
XYZxyz(11.5198, 13.8128, 27.6450)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F8E #8E492A
analogous
#2A8E7B #2A6F8E #2A3D8E
triadic
#2A6F8E #8E2A6F #6F8E2A
tetradic
#2A6F8E #7B2A8E #8E492A #3D8E2A
square
#2A6F8E #7B2A8E #8E492A #3D8E2A
split-complementary
#2A6F8E #8E2A3D #8E7B2A
monochromatic
#0E2530 #1C4A5F #2A6F8E #3894BD #62AED1

Accessibility & contrast

On white

5.58
#2A6F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6F8E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F8E#FFFFFF#000000##FFFFFF
##2A6F8E1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E90
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#007779
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6f8e;
/* rgb */ color: rgb(42, 111, 142);
/* oklch */ color: oklch(51.2% 0.084 231.1);
Tailwind
colors: {
  custom: {
    50: '#7098af',
    500: '#2a6f8e',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f8e;
$custom-light: #7098af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f8e",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 142
  },
  "hsl": {
    "h": 198.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.08379,
    "h": 231.1
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#2A6F8E
secondary
#B6795D
accent
#784ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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