#2A558F#2A558F

#2A558F is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.9% C 0.107 H 256.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2A558F
RGBrgb(42, 85, 143)
HSLhsl(214, 55%, 36%)
HSVhsv(214, 71%, 56%)
CMYKcmyk(70.6%, 40.6%, 0%, 43.9%)
CIE-LABlab(35.93, 5.40, -36.47)
CIE-LCHlch(35.93, 36.87, 278.42°)
OKLaboklab(44.9% -0.0248 -0.1039)
OKLCHoklch(44.9% 0.107 256.6)
XYZxyz(9.1595, 8.9715, 27.2302)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A558F #8F642A
analogous
#2A888F #2A558F #312A8F
triadic
#2A558F #8F2A55 #558F2A
tetradic
#2A558F #8F2A88 #8F642A #2A8F31
square
#2A558F #8F2A88 #8F642A #2A8F31
split-complementary
#2A558F #8F312A #888F2A
monochromatic
#0E1D30 #1C3960 #2A558F #3871BE #6291D1

Accessibility & contrast

On white

7.52
#2A558F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2A558F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A558F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A558F#FFFFFF#000000##FFFFFF
##2A558F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A91
Deuteranopia (green-blind)
#2B508E
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a558f;
/* rgb */ color: rgb(42, 85, 143);
/* oklch */ color: oklch(44.9% 0.107 256.6);
Tailwind
colors: {
  custom: {
    50: '#7084b0',
    500: '#2a558f',
    950: '#000000',
  },
}
SCSS
$custom: #2a558f;
$custom-light: #7084b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a558f",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 143
  },
  "hsl": {
    "h": 214.455,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.10684,
    "h": 256.6
  },
  "luminance": 0.08972
}

Semantic roles & 50–950 ramp

primary
#2A558F
secondary
#B7915E
accent
#9F4ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A558F

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

Preview Lab → · Contrast checker → · Palette generator →

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