#2A548A#2A548A

#2A548A is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.3% C 0.101 H 255.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2A548A
RGBrgb(42, 84, 138)
HSLhsl(214, 53%, 35%)
HSVhsv(214, 70%, 54%)
CMYKcmyk(69.6%, 39.1%, 0%, 45.9%)
CIE-LABlab(35.34, 4.16, -34.37)
CIE-LCHlch(35.34, 34.62, 276.90°)
OKLaboklab(44.35% -0.025 -0.0978)
OKLCHoklch(44.35% 0.101 255.7)
XYZxyz(8.7109, 8.6670, 25.2536)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A548A #8A602A
analogous
#2A848A #2A548A #302A8A
triadic
#2A548A #8A2A54 #548A2A
tetradic
#2A548A #8A2A84 #8A602A #2A8A30
square
#2A548A #8A2A84 #8A602A #2A8A30
split-complementary
#2A548A #8A302A #848A2A
monochromatic
#0D1B2C #1C375B #2A548A #3871B9 #6090CF

Accessibility & contrast

On white

7.68
#2A548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2A548A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A548A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A548A#FFFFFF#000000##FFFFFF
##2A548A1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#2E4F89
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a548a;
/* rgb */ color: rgb(42, 84, 138);
/* oklch */ color: oklch(44.3% 0.101 255.7);
Tailwind
colors: {
  custom: {
    50: '#6f83ac',
    500: '#2a548a',
    950: '#000000',
  },
}
SCSS
$custom: #2a548a;
$custom-light: #6f83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a548a",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 213.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.10093,
    "h": 255.7
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A548A

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

Preview Lab → · Contrast checker → · Palette generator →

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