#2A6789#2A6789

#2A6789 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.0% C 0.083 H 236.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2A6789
RGBrgb(42, 103, 137)
HSLhsl(201, 53%, 35%)
HSVhsv(201, 69%, 54%)
CMYKcmyk(69.3%, 24.8%, 0%, 46.3%)
CIE-LABlab(41.21, -8.08, -24.53)
CIE-LCHlch(41.21, 25.83, 251.76°)
OKLaboklab(48.96% -0.0458 -0.0689)
OKLCHoklch(48.96% 0.083 236.4)
XYZxyz(10.3187, 11.9978, 25.4340)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6789 #894C2A
analogous
#2A897C #2A6789 #2A3789
triadic
#2A6789 #892A67 #67892A
tetradic
#2A6789 #7C2A89 #894C2A #37892A
square
#2A6789 #7C2A89 #894C2A #37892A
split-complementary
#2A6789 #892A37 #897C2A
monochromatic
#0D212B #1C445A #2A6789 #388AB8 #5FA6CE

Accessibility & contrast

On white

6.18
#2A6789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2A6789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6789
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6789#FFFFFF#000000##FFFFFF
##2A67891.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57668B
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#007073
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6789;
/* rgb */ color: rgb(42, 103, 137);
/* oklch */ color: oklch(49.0% 0.083 236.4);
Tailwind
colors: {
  custom: {
    50: '#6f92ab',
    500: '#2a6789',
    950: '#000000',
  },
}
SCSS
$custom: #2a6789;
$custom-light: #6f92ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6789",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 137
  },
  "hsl": {
    "h": 201.474,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.08275,
    "h": 236.4
  },
  "luminance": 0.11999
}

Semantic roles & 50–950 ramp

primary
#2A6789
secondary
#B47B5B
accent
#7F4BDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2A6789

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

Preview Lab → · Contrast checker → · Palette generator →

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