#2A557F#2A557F

#2A557F is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.9% C 0.085 H 249.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2A557F
RGBrgb(42, 85, 127)
HSLhsl(210, 50%, 33%)
HSVhsv(210, 67%, 50%)
CMYKcmyk(66.9%, 33.1%, 0%, 50.2%)
CIE-LABlab(35.04, -0.60, -28.09)
CIE-LCHlch(35.04, 28.09, 268.78°)
OKLaboklab(43.92% -0.0292 -0.0794)
OKLCHoklch(43.92% 0.085 249.8)
XYZxyz(8.0327, 8.5207, 21.2959)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A557F #7F542A
analogous
#2A7F7E #2A557F #2A2A7F
triadic
#2A557F #7F2A55 #557F2A
tetradic
#2A557F #7E2A7F #7F542A #2A7F2A
square
#2A557F #7E2A7F #7F542A #2A7F2A
split-complementary
#2A557F #7F2A2A #7F7E2A
monochromatic
#0C1723 #1B3651 #2A557F #3974AD #5B92C9

Accessibility & contrast

On white

7.77
#2A557F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A557F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A557F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A557F#FFFFFF#000000##FFFFFF
##2A557F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#374F7E
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a557f;
/* rgb */ color: rgb(42, 85, 127);
/* oklch */ color: oklch(43.9% 0.085 249.8);
Tailwind
colors: {
  custom: {
    50: '#6d84a4',
    500: '#2a557f',
    950: '#000000',
  },
}
SCSS
$custom: #2a557f;
$custom-light: #6d84a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a557f",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 127
  },
  "hsl": {
    "h": 209.647,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.0846,
    "h": 249.8
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#2A557F
secondary
#AE8257
accent
#934EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A557F

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

Preview Lab → · Contrast checker → · Palette generator →

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