#2A5B84#2A5B84

#2A5B84 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.7% C 0.086 H 246.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2A5B84
RGBrgb(42, 91, 132)
HSLhsl(207, 52%, 34%)
HSVhsv(207, 68%, 52%)
CMYKcmyk(68.2%, 31.1%, 0%, 48.2%)
CIE-LABlab(37.19, -2.55, -27.79)
CIE-LCHlch(37.19, 27.90, 264.75°)
OKLaboklab(45.69% -0.0343 -0.0785)
OKLCHoklch(45.69% 0.086 246.4)
XYZxyz(8.8592, 9.6394, 23.2190)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B84 #84532A
analogous
#2A8480 #2A5B84 #2A2E84
triadic
#2A5B84 #842A5B #5B842A
tetradic
#2A5B84 #802A84 #84532A #2E842A
square
#2A5B84 #802A84 #84532A #2E842A
split-complementary
#2A5B84 #842A2E #84802A
monochromatic
#0C1B27 #1B3B56 #2A5B84 #397BB2 #5D99CB

Accessibility & contrast

On white

7.17
#2A5B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2A5B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B84
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B84#FFFFFF#000000##FFFFFF
##2A5B841.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C86
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#006569
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a5b84;
/* rgb */ color: rgb(42, 91, 132);
/* oklch */ color: oklch(45.7% 0.086 246.4);
Tailwind
colors: {
  custom: {
    50: '#6e89a8',
    500: '#2a5b84',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b84;
$custom-light: #6e89a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b84",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 132
  },
  "hsl": {
    "h": 207.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.08564,
    "h": 246.4
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#2A5B84
secondary
#B18159
accent
#8E4DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5B84

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

Preview Lab → · Contrast checker → · Palette generator →

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