#2A6487#2A6487

#2A6487 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.1% C 0.082 H 238.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2A6487
RGBrgb(42, 100, 135)
HSLhsl(203, 53%, 35%)
HSVhsv(203, 69%, 53%)
CMYKcmyk(68.9%, 25.9%, 0%, 47.1%)
CIE-LABlab(40.17, -7.00, -24.94)
CIE-LCHlch(40.17, 25.91, 254.33°)
OKLaboklab(48.1% -0.0432 -0.0702)
OKLCHoklch(48.1% 0.082 238.4)
XYZxyz(9.8835, 11.3548, 24.5878)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6487 #874D2A
analogous
#2A877C #2A6487 #2A3587
triadic
#2A6487 #872A64 #64872A
tetradic
#2A6487 #7C2A87 #874D2A #35872A
square
#2A6487 #7C2A87 #874D2A #35872A
split-complementary
#2A6487 #872A35 #877C2A
monochromatic
#0D1F2A #1B4158 #2A6487 #3987B6 #5EA3CD

Accessibility & contrast

On white

6.42
#2A6487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2A6487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6487
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6487#FFFFFF#000000##FFFFFF
##2A64871.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#475B86
Tritanopia (blue-blind)
#006D70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6487;
/* rgb */ color: rgb(42, 100, 135);
/* oklch */ color: oklch(48.1% 0.082 238.4);
Tailwind
colors: {
  custom: {
    50: '#6f90aa',
    500: '#2a6487',
    950: '#000000',
  },
}
SCSS
$custom: #2a6487;
$custom-light: #6f90aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6487",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 135
  },
  "hsl": {
    "h": 202.581,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.08239,
    "h": 238.4
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#2A6487
secondary
#B37B5A
accent
#824CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A6487

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

Preview Lab → · Contrast checker → · Palette generator →

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