#2A547E#2A547E

#2A547E is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.084 H 250.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2A547E
RGBrgb(42, 84, 126)
HSLhsl(210, 50%, 33%)
HSVhsv(210, 67%, 49%)
CMYKcmyk(66.7%, 33.3%, 0%, 50.6%)
CIE-LABlab(34.68, -0.33, -28.05)
CIE-LCHlch(34.68, 28.05, 269.33°)
OKLaboklab(43.62% -0.0283 -0.0793)
OKLCHoklch(43.62% 0.084 250.3)
XYZxyz(7.8897, 8.3385, 20.9283)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A547E #7E542A
analogous
#2A7E7E #2A547E #2A2A7E
triadic
#2A547E #7E2A54 #547E2A
tetradic
#2A547E #7E2A7E #7E542A #2A7E2A
square
#2A547E #7E2A7E #7E542A #2A7E2A
split-complementary
#2A547E #7E2A2A #7E7E2A
monochromatic
#0B1722 #1B3550 #2A547E #3973AC #5A91C8

Accessibility & contrast

On white

7.87
#2A547E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A547E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A547E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A547E#FFFFFF#000000##FFFFFF
##2A547E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#364E7D
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a547e;
/* rgb */ color: rgb(42, 84, 126);
/* oklch */ color: oklch(43.6% 0.084 250.3);
Tailwind
colors: {
  custom: {
    50: '#6d83a3',
    500: '#2a547e',
    950: '#000000',
  },
}
SCSS
$custom: #2a547e;
$custom-light: #6d83a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a547e",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 126
  },
  "hsl": {
    "h": 210,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43617,
    "c": 0.08422,
    "h": 250.3
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#2A547E
secondary
#AE8256
accent
#944EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2A547E

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

Preview Lab → · Contrast checker → · Palette generator →

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