#2A6E8B#2A6E8B

#2A6E8B is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 50.8% C 0.081 H 229.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2A6E8B
RGBrgb(42, 110, 139)
HSLhsl(198, 54%, 35%)
HSVhsv(198, 70%, 55%)
CMYKcmyk(69.8%, 20.9%, 0%, 45.5%)
CIE-LABlab(43.52, -11.49, -22.16)
CIE-LCHlch(43.52, 24.96, 242.59°)
OKLaboklab(50.82% -0.0527 -0.0621)
OKLCHoklch(50.82% 0.081 229.7)
XYZxyz(11.1891, 13.5070, 26.4385)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E8B #8B472A
analogous
#2A8B77 #2A6E8B #2A3D8B
triadic
#2A6E8B #8B2A6E #6E8B2A
tetradic
#2A6E8B #772A8B #8B472A #3D8B2A
square
#2A6E8B #772A8B #8B472A #3D8B2A
split-complementary
#2A6E8B #8B2A3D #8B772A
monochromatic
#0E242D #1C495C #2A6E8B #3893BA #60AECF

Accessibility & contrast

On white

5.67
#2A6E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6E8B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E8B#FFFFFF#000000##FFFFFF
##2A6E8B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a6e8b;
/* rgb */ color: rgb(42, 110, 139);
/* oklch */ color: oklch(50.8% 0.081 229.7);
Tailwind
colors: {
  custom: {
    50: '#7097ad',
    500: '#2a6e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e8b;
$custom-light: #7097ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e8b",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 139
  },
  "hsl": {
    "h": 197.938,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.50821,
    "c": 0.08141,
    "h": 229.7
  },
  "luminance": 0.13508
}

Semantic roles & 50–950 ramp

primary
#2A6E8B
secondary
#B5775C
accent
#774BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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