#2A5D87#2A5D87

#2A5D87 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.4% C 0.088 H 246.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2A5D87
RGBrgb(42, 93, 135)
HSLhsl(207, 53%, 35%)
HSVhsv(207, 69%, 53%)
CMYKcmyk(68.9%, 31.1%, 0%, 47.1%)
CIE-LABlab(37.97, -2.70, -28.39)
CIE-LCHlch(37.97, 28.52, 264.56°)
OKLaboklab(46.36% -0.0355 -0.0802)
OKLCHoklch(46.36% 0.088 246.1)
XYZxyz(9.2407, 10.0693, 24.3735)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D87 #87542A
analogous
#2A8783 #2A5D87 #2A2F87
triadic
#2A5D87 #872A5D #5D872A
tetradic
#2A5D87 #832A87 #87542A #2F872A
square
#2A5D87 #832A87 #87542A #2F872A
split-complementary
#2A5D87 #872A2F #87832A
monochromatic
#0D1D2A #1B3D58 #2A5D87 #397DB6 #5E9BCD

Accessibility & contrast

On white

6.97
#2A5D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A5D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5D87
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D87#FFFFFF#000000##FFFFFF
##2A5D871.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E89
Deuteranopia (green-blind)
#3E5586
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5d87;
/* rgb */ color: rgb(42, 93, 135);
/* oklch */ color: oklch(46.4% 0.088 246.1);
Tailwind
colors: {
  custom: {
    50: '#6e8aaa',
    500: '#2a5d87',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d87;
$custom-light: #6e8aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d87",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 135
  },
  "hsl": {
    "h": 207.097,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46355,
    "c": 0.08773,
    "h": 246.1
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#2A5D87
secondary
#B3825A
accent
#8D4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5D87

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

Preview Lab → · Contrast checker → · Palette generator →

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