#2A5F85#2A5F85

#2A5F85 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.7% C 0.084 H 242.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2A5F85
RGBrgb(42, 95, 133)
HSLhsl(205, 52%, 34%)
HSVhsv(205, 68%, 52%)
CMYKcmyk(68.4%, 28.6%, 0%, 47.8%)
CIE-LABlab(38.50, -4.67, -26.34)
CIE-LCHlch(38.50, 26.76, 259.94°)
OKLaboklab(46.74% -0.0384 -0.0743)
OKLCHoklch(46.74% 0.084 242.7)
XYZxyz(9.2791, 10.3691, 23.6982)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F85 #85502A
analogous
#2A857E #2A5F85 #2A3285
triadic
#2A5F85 #852A5F #5F852A
tetradic
#2A5F85 #7E2A85 #85502A #32852A
square
#2A5F85 #7E2A85 #85502A #32852A
split-complementary
#2A5F85 #852A32 #857E2A
monochromatic
#0D1D28 #1B3E56 #2A5F85 #3980B4 #5D9ECC

Accessibility & contrast

On white

6.83
#2A5F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A5F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5F85
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F85#FFFFFF#000000##FFFFFF
##2A5F851.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6087
Deuteranopia (green-blind)
#415784
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a5f85;
/* rgb */ color: rgb(42, 95, 133);
/* oklch */ color: oklch(46.7% 0.084 242.7);
Tailwind
colors: {
  custom: {
    50: '#6e8ca8',
    500: '#2a5f85',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f85;
$custom-light: #6e8ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f85",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 133
  },
  "hsl": {
    "h": 205.055,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46742,
    "c": 0.08359,
    "h": 242.7
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#2A5F85
secondary
#B27E59
accent
#884CDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A5F85

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

Preview Lab → · Contrast checker → · Palette generator →

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