#2A5F84#2A5F84

#2A5F84 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.082 H 242.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2A5F84
RGBrgb(42, 95, 132)
HSLhsl(205, 52%, 34%)
HSVhsv(205, 68%, 52%)
CMYKcmyk(68.2%, 28%, 0%, 48.2%)
CIE-LABlab(38.45, -5.03, -25.81)
CIE-LCHlch(38.45, 26.30, 258.96°)
OKLaboklab(46.69% -0.0387 -0.0727)
OKLCHoklch(46.69% 0.082 242)
XYZxyz(9.2103, 10.3416, 23.3361)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F84 #844F2A
analogous
#2A847C #2A5F84 #2A3284
triadic
#2A5F84 #842A5F #5F842A
tetradic
#2A5F84 #7C2A84 #844F2A #32842A
square
#2A5F84 #7C2A84 #844F2A #32842A
split-complementary
#2A5F84 #842A32 #847C2A
monochromatic
#0C1C27 #1B3E56 #2A5F84 #3980B2 #5D9ECB

Accessibility & contrast

On white

6.84
#2A5F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A5F84
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F84#FFFFFF#000000##FFFFFF
##2A5F841.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a5f84;
/* rgb */ color: rgb(42, 95, 132);
/* oklch */ color: oklch(46.7% 0.082 242.0);
Tailwind
colors: {
  custom: {
    50: '#6e8ca8',
    500: '#2a5f84',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f84;
$custom-light: #6e8ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f84",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 132
  },
  "hsl": {
    "h": 204.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.08238,
    "h": 242
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#2A5F84
secondary
#B17D59
accent
#874DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2A5F84

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

Preview Lab → · Contrast checker → · Palette generator →

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