#2A558B#2A558B

#2A558B is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.6% C 0.101 H 255.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2A558B
RGBrgb(42, 85, 139)
HSLhsl(213, 54%, 35%)
HSVhsv(213, 70%, 55%)
CMYKcmyk(69.8%, 38.8%, 0%, 45.5%)
CIE-LABlab(35.70, 3.89, -34.41)
CIE-LCHlch(35.70, 34.62, 276.44°)
OKLaboklab(44.65% -0.0257 -0.0979)
OKLCHoklch(44.65% 0.101 255.3)
XYZxyz(8.8618, 8.8524, 25.6627)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A558B #8B602A
analogous
#2A858B #2A558B #2F2A8B
triadic
#2A558B #8B2A55 #558B2A
tetradic
#2A558B #8B2A85 #8B602A #2A8B2F
square
#2A558B #8B2A85 #8B602A #2A8B2F
split-complementary
#2A558B #8B2F2A #858B2A
monochromatic
#0E1C2D #1C385C #2A558B #3872BA #6091CF

Accessibility & contrast

On white

7.58
#2A558B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2A558B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A558B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A558B#FFFFFF#000000##FFFFFF
##2A558B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a558b;
/* rgb */ color: rgb(42, 85, 139);
/* oklch */ color: oklch(44.6% 0.101 255.3);
Tailwind
colors: {
  custom: {
    50: '#6f84ad',
    500: '#2a558b',
    950: '#000000',
  },
}
SCSS
$custom: #2a558b;
$custom-light: #6f84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a558b",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 213.402,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.1012,
    "h": 255.3
  },
  "luminance": 0.08853
}

Semantic roles & 50–950 ramp

primary
#2A558B
secondary
#B58D5C
accent
#9C4BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A558B

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

Preview Lab → · Contrast checker → · Palette generator →

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