#2A558E#2A558E

#2A558E is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.8% C 0.105 H 256.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2A558E
RGBrgb(42, 85, 142)
HSLhsl(214, 54%, 36%)
HSVhsv(214, 70%, 56%)
CMYKcmyk(70.4%, 40.1%, 0%, 44.3%)
CIE-LABlab(35.87, 5.02, -35.96)
CIE-LCHlch(35.87, 36.31, 277.95°)
OKLaboklab(44.84% -0.025 -0.1024)
OKLCHoklch(44.84% 0.105 256.3)
XYZxyz(9.0841, 8.9413, 26.8330)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A558E #8E632A
analogous
#2A878E #2A558E #312A8E
triadic
#2A558E #8E2A55 #558E2A
tetradic
#2A558E #8E2A87 #8E632A #2A8E31
square
#2A558E #8E2A87 #8E632A #2A8E31
split-complementary
#2A558E #8E312A #878E2A
monochromatic
#0E1C30 #1C395F #2A558E #3871BD #6291D1

Accessibility & contrast

On white

7.53
#2A558E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A558E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A558E#FFFFFF#000000##FFFFFF
##2A558E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5990
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a558e;
/* rgb */ color: rgb(42, 85, 142);
/* oklch */ color: oklch(44.8% 0.105 256.3);
Tailwind
colors: {
  custom: {
    50: '#7084af',
    500: '#2a558e',
    950: '#000000',
  },
}
SCSS
$custom: #2a558e;
$custom-light: #7084af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a558e",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 214.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44838,
    "c": 0.10543,
    "h": 256.3
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#2A558E
secondary
#B6905D
accent
#9E4ADE
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A558E

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

Preview Lab → · Contrast checker → · Palette generator →

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