#2A5E87#2A5E87

#2A5E87 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.087 H 245.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2A5E87
RGBrgb(42, 94, 135)
HSLhsl(206, 53%, 35%)
HSVhsv(206, 69%, 53%)
CMYKcmyk(68.9%, 30.4%, 0%, 47.1%)
CIE-LABlab(38.28, -3.33, -27.90)
CIE-LCHlch(38.28, 28.10, 263.20°)
OKLaboklab(46.6% -0.0366 -0.0788)
OKLCHoklch(46.6% 0.087 245.1)
XYZxyz(9.3291, 10.2459, 24.4030)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E87 #87532A
analogous
#2A8782 #2A5E87 #2A2F87
triadic
#2A5E87 #872A5E #5E872A
tetradic
#2A5E87 #822A87 #87532A #2F872A
square
#2A5E87 #822A87 #87532A #2F872A
split-complementary
#2A5E87 #872A2F #87822A
monochromatic
#0D1D2A #1B3D58 #2A5E87 #397FB6 #5E9CCD

Accessibility & contrast

On white

6.89
#2A5E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2A5E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5E87
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E87#FFFFFF#000000##FFFFFF
##2A5E871.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a5e87;
/* rgb */ color: rgb(42, 94, 135);
/* oklch */ color: oklch(46.6% 0.087 245.1);
Tailwind
colors: {
  custom: {
    50: '#6f8baa',
    500: '#2a5e87',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e87;
$custom-light: #6f8baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e87",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 206.452,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46603,
    "c": 0.08687,
    "h": 245.1
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#2A5E87
secondary
#B3815A
accent
#8B4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A5E87

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

Preview Lab → · Contrast checker → · Palette generator →

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