#2A678C#2A678C

#2A678C is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.1% C 0.086 H 238.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2A678C
RGBrgb(42, 103, 140)
HSLhsl(203, 54%, 36%)
HSVhsv(203, 70%, 55%)
CMYKcmyk(70%, 26.4%, 0%, 45.1%)
CIE-LABlab(41.35, -7.01, -26.12)
CIE-LCHlch(41.35, 27.04, 254.98°)
OKLaboklab(49.11% -0.0447 -0.0735)
OKLCHoklch(49.11% 0.086 238.7)
XYZxyz(10.5369, 12.0851, 26.5832)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A678C #8C4F2A
analogous
#2A8C80 #2A678C #2A368C
triadic
#2A678C #8C2A67 #678C2A
tetradic
#2A678C #802A8C #8C4F2A #368C2A
square
#2A678C #802A8C #8C4F2A #368C2A
split-complementary
#2A678C #8C2A36 #8C802A
monochromatic
#0E222E #1C445D #2A678C #388ABB #61A6D0

Accessibility & contrast

On white

6.15
#2A678C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2A678C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A678C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A678C#FFFFFF#000000##FFFFFF
##2A678C1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56678E
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#007074
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a678c;
/* rgb */ color: rgb(42, 103, 140);
/* oklch */ color: oklch(49.1% 0.086 238.7);
Tailwind
colors: {
  custom: {
    50: '#7092ad',
    500: '#2a678c',
    950: '#000000',
  },
}
SCSS
$custom: #2a678c;
$custom-light: #7092ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a678c",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 140
  },
  "hsl": {
    "h": 202.653,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.08605,
    "h": 238.7
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#2A678C
secondary
#B57E5C
accent
#824BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2A678C

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

Preview Lab → · Contrast checker → · Palette generator →

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