#2A5C87#2A5C87

#2A5C87 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.1% C 0.089 H 247.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2A5C87
RGBrgb(42, 92, 135)
HSLhsl(208, 53%, 35%)
HSVhsv(208, 69%, 53%)
CMYKcmyk(68.9%, 31.9%, 0%, 47.1%)
CIE-LABlab(37.65, -2.08, -28.88)
CIE-LCHlch(37.65, 28.96, 265.88°)
OKLaboklab(46.11% -0.0344 -0.0817)
OKLCHoklch(46.11% 0.089 247.2)
XYZxyz(9.1535, 9.8949, 24.3445)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C87 #87552A
analogous
#2A8784 #2A5C87 #2A2E87
triadic
#2A5C87 #872A5C #5C872A
tetradic
#2A5C87 #842A87 #87552A #2E872A
square
#2A5C87 #842A87 #87552A #2E872A
split-complementary
#2A5C87 #872A2E #87842A
monochromatic
#0D1C2A #1B3C58 #2A5C87 #397CB6 #5E9ACD

Accessibility & contrast

On white

7.05
#2A5C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2A5C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C87
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C87#FFFFFF#000000##FFFFFF
##2A5C871.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E89
Deuteranopia (green-blind)
#3C5586
Tritanopia (blue-blind)
#00666B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5c87;
/* rgb */ color: rgb(42, 92, 135);
/* oklch */ color: oklch(46.1% 0.089 247.2);
Tailwind
colors: {
  custom: {
    50: '#6e89aa',
    500: '#2a5c87',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c87;
$custom-light: #6e89aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c87",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 135
  },
  "hsl": {
    "h": 207.742,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.08861,
    "h": 247.2
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#2A5C87
secondary
#B3835A
accent
#8E4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5C87

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

Preview Lab → · Contrast checker → · Palette generator →

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