#2A5C81#2A5C81

#2A5C81 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.8% C 0.081 H 243.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2A5C81
RGBrgb(42, 92, 129)
HSLhsl(206, 51%, 34%)
HSVhsv(206, 67%, 51%)
CMYKcmyk(67.4%, 28.7%, 0%, 49.4%)
CIE-LABlab(37.35, -4.27, -25.69)
CIE-LCHlch(37.35, 26.04, 260.56°)
OKLaboklab(45.78% -0.0364 -0.0724)
OKLCHoklch(45.78% 0.081 243.3)
XYZxyz(8.7429, 9.7306, 22.1821)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C81 #814F2A
analogous
#2A817A #2A5C81 #2A3081
triadic
#2A5C81 #812A5C #5C812A
tetradic
#2A5C81 #7A2A81 #814F2A #30812A
square
#2A5C81 #7A2A81 #814F2A #30812A
split-complementary
#2A5C81 #812A30 #817A2A
monochromatic
#0C1A25 #1B3B53 #2A5C81 #397DAF #5C9BCA

Accessibility & contrast

On white

7.13
#2A5C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2A5C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C81
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C81#FFFFFF#000000##FFFFFF
##2A5C811.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D83
Deuteranopia (green-blind)
#405480
Tritanopia (blue-blind)
#006569
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5c81;
/* rgb */ color: rgb(42, 92, 129);
/* oklch */ color: oklch(45.8% 0.081 243.3);
Tailwind
colors: {
  custom: {
    50: '#6d8aa5',
    500: '#2a5c81',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c81;
$custom-light: #6d8aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c81",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 129
  },
  "hsl": {
    "h": 205.517,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.08103,
    "h": 243.3
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#2A5C81
secondary
#AF7D57
accent
#894DDA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5C81

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

Preview Lab → · Contrast checker → · Palette generator →

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