#2A5378#2A5378

#2A5378 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.0% C 0.077 H 247.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2A5378
RGBrgb(42, 83, 120)
HSLhsl(208, 48%, 32%)
HSVhsv(208, 65%, 47%)
CMYKcmyk(65%, 30.8%, 0%, 52.9%)
CIE-LABlab(34.05, -1.89, -25.31)
CIE-LCHlch(34.05, 25.38, 265.72°)
OKLaboklab(43.03% -0.0291 -0.0714)
OKLCHoklch(43.03% 0.077 247.8)
XYZxyz(7.4370, 8.0341, 18.9245)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5378 #784F2A
analogous
#2A7876 #2A5378 #2A2C78
triadic
#2A5378 #782A53 #53782A
tetradic
#2A5378 #762A78 #784F2A #2C782A
square
#2A5378 #762A78 #784F2A #2C782A
split-complementary
#2A5378 #782A2C #78762A
monochromatic
#0A141D #1A344B #2A5378 #3A72A5 #5891C5

Accessibility & contrast

On white

8.06
#2A5378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A5378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5378
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5378#FFFFFF#000000##FFFFFF
##2A53781.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43547A
Deuteranopia (green-blind)
#384D77
Tritanopia (blue-blind)
#005C60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5378;
/* rgb */ color: rgb(42, 83, 120);
/* oklch */ color: oklch(43.0% 0.077 247.8);
Tailwind
colors: {
  custom: {
    50: '#6c839f',
    500: '#2a5378',
    950: '#000000',
  },
}
SCSS
$custom: #2a5378;
$custom-light: #6c839f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5378",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 120
  },
  "hsl": {
    "h": 208.462,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.07709,
    "h": 247.8
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#2A5378
secondary
#AA7D54
accent
#9050D8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5378

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

Preview Lab → · Contrast checker → · Palette generator →

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