#2A5D86#2A5D86

#2A5D86 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.3% C 0.086 H 245.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2A5D86
RGBrgb(42, 93, 134)
HSLhsl(207, 52%, 35%)
HSVhsv(207, 69%, 53%)
CMYKcmyk(68.7%, 30.6%, 0%, 47.5%)
CIE-LABlab(37.92, -3.07, -27.86)
CIE-LCHlch(37.92, 28.03, 263.71°)
OKLaboklab(46.3% -0.0358 -0.0787)
OKLCHoklch(46.3% 0.086 245.5)
XYZxyz(9.1707, 10.0412, 24.0045)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D86 #86532A
analogous
#2A8681 #2A5D86 #2A2F86
triadic
#2A5D86 #862A5D #5D862A
tetradic
#2A5D86 #812A86 #86532A #2F862A
square
#2A5D86 #812A86 #86532A #2F862A
split-complementary
#2A5D86 #862A2F #86812A
monochromatic
#0D1C29 #1B3D57 #2A5D86 #397DB5 #5E9BCD

Accessibility & contrast

On white

6.98
#2A5D86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5D86
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D86#FFFFFF#000000##FFFFFF
##2A5D861.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E88
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#00676B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5d86;
/* rgb */ color: rgb(42, 93, 134);
/* oklch */ color: oklch(46.3% 0.086 245.5);
Tailwind
colors: {
  custom: {
    50: '#6e8aa9',
    500: '#2a5d86',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d86;
$custom-light: #6e8aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d86",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 134
  },
  "hsl": {
    "h": 206.739,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46299,
    "c": 0.08645,
    "h": 245.5
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#2A5D86
secondary
#B2815A
accent
#8C4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5D86

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

Preview Lab → · Contrast checker → · Palette generator →

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