#2A6D8E#2A6D8E

#2A6D8E is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 50.7% C 0.085 H 233.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2A6D8E
RGBrgb(42, 109, 142)
HSLhsl(200, 54%, 36%)
HSVhsv(200, 70%, 56%)
CMYKcmyk(70.4%, 23.2%, 0%, 44.3%)
CIE-LABlab(43.33, -9.86, -24.24)
CIE-LCHlch(43.33, 26.16, 247.87°)
OKLaboklab(50.72% -0.0504 -0.0681)
OKLCHoklch(50.72% 0.085 233.5)
XYZxyz(11.3040, 13.3813, 27.5730)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D8E #8E4B2A
analogous
#2A8E7D #2A6D8E #2A3B8E
triadic
#2A6D8E #8E2A6D #6D8E2A
tetradic
#2A6D8E #7D2A8E #8E4B2A #3B8E2A
square
#2A6D8E #7D2A8E #8E4B2A #3B8E2A
split-complementary
#2A6D8E #8E2A3B #8E7D2A
monochromatic
#0E2430 #1C495F #2A6D8E #3891BD #62ACD1

Accessibility & contrast

On white

5.71
#2A6D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2A6D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D8E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D8E#FFFFFF#000000##FFFFFF
##2A6D8E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C90
Deuteranopia (green-blind)
#4F628D
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a6d8e;
/* rgb */ color: rgb(42, 109, 142);
/* oklch */ color: oklch(50.7% 0.085 233.5);
Tailwind
colors: {
  custom: {
    50: '#7096af',
    500: '#2a6d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d8e;
$custom-light: #7096af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d8e",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 142
  },
  "hsl": {
    "h": 199.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50716,
    "c": 0.08471,
    "h": 233.5
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#2A6D8E
secondary
#B67B5D
accent
#7B4ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A6D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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