#2A557E#2A557E

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

Color values

HEX#2A557E
RGBrgb(42, 85, 126)
HSLhsl(209, 50%, 33%)
HSVhsv(209, 67%, 49%)
CMYKcmyk(66.7%, 32.5%, 0%, 50.6%)
CIE-LABlab(34.99, -0.97, -27.55)
CIE-LCHlch(34.99, 27.57, 267.99°)
OKLaboklab(43.86% -0.0295 -0.0779)
OKLCHoklch(43.86% 0.083 249.3)
XYZxyz(7.9678, 8.4948, 20.9544)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A557E #7E532A
analogous
#2A7E7D #2A557E #2A2B7E
triadic
#2A557E #7E2A55 #557E2A
tetradic
#2A557E #7D2A7E #7E532A #2B7E2A
square
#2A557E #7D2A7E #7E532A #2B7E2A
split-complementary
#2A557E #7E2A2B #7E7D2A
monochromatic
#0B1722 #1B3650 #2A557E #3974AC #5A93C8

Accessibility & contrast

On white

7.78
#2A557E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A557E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A557E#FFFFFF#000000##FFFFFF
##2A557E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435780
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a557e;
/* rgb */ color: rgb(42, 85, 126);
/* oklch */ color: oklch(43.9% 0.083 249.3);
Tailwind
colors: {
  custom: {
    50: '#6d84a3',
    500: '#2a557e',
    950: '#000000',
  },
}
SCSS
$custom: #2a557e;
$custom-light: #6d84a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a557e",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 126
  },
  "hsl": {
    "h": 209.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.08325,
    "h": 249.3
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#2A557E
secondary
#AE8156
accent
#924EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2A557E

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

Preview Lab → · Contrast checker → · Palette generator →

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