#2A548C#2A548C

#2A548C is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.5% C 0.104 H 256.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2A548C
RGBrgb(42, 84, 140)
HSLhsl(214, 54%, 36%)
HSVhsv(214, 70%, 55%)
CMYKcmyk(70%, 40%, 0%, 45.1%)
CIE-LABlab(35.45, 4.92, -35.41)
CIE-LCHlch(35.45, 35.75, 277.90°)
OKLaboklab(44.47% -0.0244 -0.1008)
OKLCHoklch(44.47% 0.104 256.4)
XYZxyz(8.8571, 8.7254, 26.0233)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A548C #8C622A
analogous
#2A858C #2A548C #312A8C
triadic
#2A548C #8C2A54 #548C2A
tetradic
#2A548C #8C2A85 #8C622A #2A8C31
square
#2A548C #8C2A85 #8C622A #2A8C31
split-complementary
#2A548C #8C312A #858C2A
monochromatic
#0E1C2E #1C385D #2A548C #3870BB #6190D0

Accessibility & contrast

On white

7.65
#2A548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A548C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A548C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A548C#FFFFFF#000000##FFFFFF
##2A548C1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588E
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a548c;
/* rgb */ color: rgb(42, 84, 140);
/* oklch */ color: oklch(44.5% 0.104 256.4);
Tailwind
colors: {
  custom: {
    50: '#6f83ae',
    500: '#2a548c',
    950: '#000000',
  },
}
SCSS
$custom: #2a548c;
$custom-light: #6f83ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a548c",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 214.286,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44473,
    "c": 0.10375,
    "h": 256.4
  },
  "luminance": 0.08726
}

Semantic roles & 50–950 ramp

primary
#2A548C
secondary
#B58F5C
accent
#9E4BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A548C

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

Preview Lab → · Contrast checker → · Palette generator →

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