#2A6287#2A6287

#2A6287 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.6% C 0.084 H 240.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2A6287
RGBrgb(42, 98, 135)
HSLhsl(204, 53%, 35%)
HSVhsv(204, 69%, 53%)
CMYKcmyk(68.9%, 27.4%, 0%, 47.1%)
CIE-LABlab(39.54, -5.79, -25.93)
CIE-LCHlch(39.54, 26.57, 257.42°)
OKLaboklab(47.6% -0.041 -0.073)
OKLCHoklch(47.6% 0.084 240.7)
XYZxyz(9.6940, 10.9759, 24.5246)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6287 #874F2A
analogous
#2A877E #2A6287 #2A3487
triadic
#2A6287 #872A62 #62872A
tetradic
#2A6287 #7E2A87 #874F2A #34872A
square
#2A6287 #7E2A87 #874F2A #34872A
split-complementary
#2A6287 #872A34 #877E2A
monochromatic
#0D1E2A #1B4058 #2A6287 #3984B6 #5EA1CD

Accessibility & contrast

On white

6.57
#2A6287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2A6287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6287
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6287#FFFFFF#000000##FFFFFF
##2A62871.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516289
Deuteranopia (green-blind)
#445986
Tritanopia (blue-blind)
#006B6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6287;
/* rgb */ color: rgb(42, 98, 135);
/* oklch */ color: oklch(47.6% 0.084 240.7);
Tailwind
colors: {
  custom: {
    50: '#6f8eaa',
    500: '#2a6287',
    950: '#000000',
  },
}
SCSS
$custom: #2a6287;
$custom-light: #6f8eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6287",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 135
  },
  "hsl": {
    "h": 203.871,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.08375,
    "h": 240.7
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#2A6287
secondary
#B37D5A
accent
#854CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A6287

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

Preview Lab → · Contrast checker → · Palette generator →

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