#2A6C8B#2A6C8B

#2A6C8B is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.3% C 0.082 H 232.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A6C8B
RGBrgb(42, 108, 139)
HSLhsl(199, 54%, 35%)
HSVhsv(199, 70%, 55%)
CMYKcmyk(69.8%, 22.3%, 0%, 45.5%)
CIE-LABlab(42.88, -10.33, -23.14)
CIE-LCHlch(42.88, 25.34, 245.95°)
OKLaboklab(50.32% -0.0505 -0.0649)
OKLCHoklch(50.32% 0.082 232.1)
XYZxyz(10.9758, 13.0803, 26.3674)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C8B #8B492A
analogous
#2A8B79 #2A6C8B #2A3C8B
triadic
#2A6C8B #8B2A6C #6C8B2A
tetradic
#2A6C8B #792A8B #8B492A #3C8B2A
square
#2A6C8B #792A8B #8B492A #3C8B2A
split-complementary
#2A6C8B #8B2A3C #8B792A
monochromatic
#0E232D #1C475C #2A6C8B #3891BA #60ACCF

Accessibility & contrast

On white

5.81
#2A6C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2A6C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6C8B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6C8B#FFFFFF#000000##FFFFFF
##2A6C8B1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8D
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a6c8b;
/* rgb */ color: rgb(42, 108, 139);
/* oklch */ color: oklch(50.3% 0.082 232.1);
Tailwind
colors: {
  custom: {
    50: '#7096ad',
    500: '#2a6c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c8b;
$custom-light: #7096ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c8b",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 139
  },
  "hsl": {
    "h": 199.175,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.08222,
    "h": 232.1
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#2A6C8B
secondary
#B5785C
accent
#7A4BDD
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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