#2A6387#2A6387

#2A6387 is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 47.8% C 0.083 H 239.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2A6387
RGBrgb(42, 99, 135)
HSLhsl(203, 53%, 35%)
HSVhsv(203, 69%, 53%)
CMYKcmyk(68.9%, 26.7%, 0%, 47.1%)
CIE-LABlab(39.86, -6.39, -25.44)
CIE-LCHlch(39.86, 26.23, 255.89°)
OKLaboklab(47.85% -0.0421 -0.0716)
OKLCHoklch(47.85% 0.083 239.5)
XYZxyz(9.7882, 11.1642, 24.5560)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6387 #874E2A
analogous
#2A877D #2A6387 #2A3587
triadic
#2A6387 #872A63 #63872A
tetradic
#2A6387 #7D2A87 #874E2A #35872A
square
#2A6387 #7D2A87 #874E2A #35872A
split-complementary
#2A6387 #872A35 #877D2A
monochromatic
#0D1F2A #1B4158 #2A6387 #3985B6 #5EA2CD

Accessibility & contrast

On white

6.50
#2A6387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2A6387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6387
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6387#FFFFFF#000000##FFFFFF
##2A63871.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#465A86
Tritanopia (blue-blind)
#006C6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a6387;
/* rgb */ color: rgb(42, 99, 135);
/* oklch */ color: oklch(47.8% 0.083 239.5);
Tailwind
colors: {
  custom: {
    50: '#6f8faa',
    500: '#2a6387',
    950: '#000000',
  },
}
SCSS
$custom: #2a6387;
$custom-light: #6f8faa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6387",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 135
  },
  "hsl": {
    "h": 203.226,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47849,
    "c": 0.08305,
    "h": 239.5
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#2A6387
secondary
#B37C5A
accent
#844CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A6387

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

Preview Lab → · Contrast checker → · Palette generator →

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