#2A558C#2A558C

#2A558C is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.7% C 0.103 H 255.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2A558C
RGBrgb(42, 85, 140)
HSLhsl(214, 54%, 36%)
HSVhsv(214, 70%, 55%)
CMYKcmyk(70%, 39.3%, 0%, 45.1%)
CIE-LABlab(35.76, 4.26, -34.92)
CIE-LCHlch(35.76, 35.18, 276.96°)
OKLaboklab(44.71% -0.0255 -0.0994)
OKLCHoklch(44.71% 0.103 255.6)
XYZxyz(8.9352, 8.8818, 26.0493)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A558C #8C612A
analogous
#2A868C #2A558C #302A8C
triadic
#2A558C #8C2A55 #558C2A
tetradic
#2A558C #8C2A86 #8C612A #2A8C30
square
#2A558C #8C2A86 #8C612A #2A8C30
split-complementary
#2A558C #8C302A #868C2A
monochromatic
#0E1C2E #1C385D #2A558C #3872BB #6191D0

Accessibility & contrast

On white

7.56
#2A558C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2A558C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A558C
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A558C#FFFFFF#000000##FFFFFF
##2A558C1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598E
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#006269
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a558c;
/* rgb */ color: rgb(42, 85, 140);
/* oklch */ color: oklch(44.7% 0.103 255.6);
Tailwind
colors: {
  custom: {
    50: '#6f84ae',
    500: '#2a558c',
    950: '#000000',
  },
}
SCSS
$custom: #2a558c;
$custom-light: #6f84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a558c",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 140
  },
  "hsl": {
    "h": 213.673,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.10261,
    "h": 255.6
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#2A558C
secondary
#B58E5C
accent
#9D4BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A558C

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

Preview Lab → · Contrast checker → · Palette generator →

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