#2A5F86#2A5F86

#2A5F86 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.8% C 0.085 H 243.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2A5F86
RGBrgb(42, 95, 134)
HSLhsl(205, 52%, 35%)
HSVhsv(205, 69%, 53%)
CMYKcmyk(68.7%, 29.1%, 0%, 47.5%)
CIE-LABlab(38.55, -4.31, -26.88)
CIE-LCHlch(38.55, 27.22, 260.89°)
OKLaboklab(46.8% -0.038 -0.0758)
OKLCHoklch(46.8% 0.085 243.4)
XYZxyz(9.3485, 10.3969, 24.0638)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F86 #86512A
analogous
#2A867F #2A5F86 #2A3186
triadic
#2A5F86 #862A5F #5F862A
tetradic
#2A5F86 #7F2A86 #86512A #31862A
square
#2A5F86 #7F2A86 #86512A #31862A
split-complementary
#2A5F86 #862A31 #867F2A
monochromatic
#0D1D29 #1B3E57 #2A5F86 #3980B5 #5E9ECD

Accessibility & contrast

On white

6.82
#2A5F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2A5F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5F86
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F86#FFFFFF#000000##FFFFFF
##2A5F861.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6088
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5f86;
/* rgb */ color: rgb(42, 95, 134);
/* oklch */ color: oklch(46.8% 0.085 243.4);
Tailwind
colors: {
  custom: {
    50: '#6e8ca9',
    500: '#2a5f86',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f86;
$custom-light: #6e8ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f86",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 134
  },
  "hsl": {
    "h": 205.435,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.08481,
    "h": 243.4
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#2A5F86
secondary
#B27F5A
accent
#894CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2A5F86

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

Preview Lab → · Contrast checker → · Palette generator →

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