#2A557C#2A557C

#2A557C is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.081 H 248.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2A557C
RGBrgb(42, 85, 124)
HSLhsl(209, 49%, 33%)
HSVhsv(209, 66%, 49%)
CMYKcmyk(66.1%, 31.5%, 0%, 51.4%)
CIE-LABlab(34.89, -1.70, -26.48)
CIE-LCHlch(34.89, 26.53, 266.32°)
OKLaboklab(43.75% -0.0301 -0.0747)
OKLCHoklch(43.75% 0.081 248.1)
XYZxyz(7.8401, 8.4437, 20.2815)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A557C #7C512A
analogous
#2A7C7A #2A557C #2A2C7C
triadic
#2A557C #7C2A55 #557C2A
tetradic
#2A557C #7A2A7C #7C512A #2C7C2A
square
#2A557C #7A2A7C #7C512A #2C7C2A
split-complementary
#2A557C #7C2A2C #7C7A2A
monochromatic
#0B1621 #1B364E #2A557C #3974AA #5993C7

Accessibility & contrast

On white

7.81
#2A557C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2A557C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A557C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A557C#FFFFFF#000000##FFFFFF
##2A557C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567E
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a557c;
/* rgb */ color: rgb(42, 85, 124);
/* oklch */ color: oklch(43.8% 0.081 248.1);
Tailwind
colors: {
  custom: {
    50: '#6c84a2',
    500: '#2a557c',
    950: '#000000',
  },
}
SCSS
$custom: #2a557c;
$custom-light: #6c84a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a557c",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 124
  },
  "hsl": {
    "h": 208.537,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.08058,
    "h": 248.1
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#2A557C
secondary
#AD7F55
accent
#914FD9
background
#F6F8FA
surface
#ECEFF3
border
#C7CACD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2A557C

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

Preview Lab → · Contrast checker → · Palette generator →

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