#2A678E#2A678E

#2A678E is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.2% C 0.088 H 240.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2A678E
RGBrgb(42, 103, 142)
HSLhsl(203, 54%, 36%)
HSVhsv(203, 70%, 56%)
CMYKcmyk(70.4%, 27.5%, 0%, 44.3%)
CIE-LABlab(41.45, -6.29, -27.17)
CIE-LCHlch(41.45, 27.89, 256.97°)
OKLaboklab(49.22% -0.044 -0.0766)
OKLCHoklch(49.22% 0.088 240.1)
XYZxyz(10.6857, 12.1446, 27.3669)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A678E #8E512A
analogous
#2A8E83 #2A678E #2A358E
triadic
#2A678E #8E2A67 #678E2A
tetradic
#2A678E #832A8E #8E512A #358E2A
square
#2A678E #832A8E #8E512A #358E2A
split-complementary
#2A678E #8E2A35 #8E832A
monochromatic
#0E2230 #1C455F #2A678E #3889BD #62A5D1

Accessibility & contrast

On white

6.12
#2A678E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A678E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A678E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A678E#FFFFFF#000000##FFFFFF
##2A678E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556790
Deuteranopia (green-blind)
#475D8D
Tritanopia (blue-blind)
#007174
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a678e;
/* rgb */ color: rgb(42, 103, 142);
/* oklch */ color: oklch(49.2% 0.088 240.1);
Tailwind
colors: {
  custom: {
    50: '#7092af',
    500: '#2a678e',
    950: '#000000',
  },
}
SCSS
$custom: #2a678e;
$custom-light: #7092af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a678e",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 142
  },
  "hsl": {
    "h": 203.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49217,
    "c": 0.08832,
    "h": 240.1
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#2A678E
secondary
#B6805D
accent
#844ADE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2A678E

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

Preview Lab → · Contrast checker → · Palette generator →

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