#2D548A#2D548A

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

Color values

HEX#2D548A
RGBrgb(45, 84, 138)
HSLhsl(215, 51%, 36%)
HSVhsv(215, 67%, 54%)
CMYKcmyk(67.4%, 39.1%, 0%, 45.9%)
CIE-LABlab(35.46, 4.69, -34.16)
CIE-LCHlch(35.46, 34.48, 277.83°)
OKLaboklab(44.48% -0.0225 -0.0971)
OKLCHoklch(44.48% 0.1 257)
XYZxyz(8.8383, 8.7326, 25.2596)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D548A #8A632D
analogous
#2D828A #2D548A #342D8A
triadic
#2D548A #8A2D54 #548A2D
tetradic
#2D548A #8A2D82 #8A632D #2D8A34
square
#2D548A #8A2D82 #8A632D #2D8A34
split-complementary
#2D548A #8A342D #828A2D
monochromatic
#0F1C2E #1E385C #2D548A #3C70B8 #6590CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D548A#FFFFFF#000000##FFFFFF
##2D548A1.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)
#3C588C
Deuteranopia (green-blind)
#2F4F89
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d548a;
/* rgb */ color: rgb(45, 84, 138);
/* oklch */ color: oklch(44.5% 0.100 257.0);
Tailwind
colors: {
  custom: {
    50: '#7083ac',
    500: '#2d548a',
    950: '#000000',
  },
}
SCSS
$custom: #2d548a;
$custom-light: #7083ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d548a",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 214.839,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.09969,
    "h": 257
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#2D548A
secondary
#B39060
accent
#9F4DDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D548A

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

Preview Lab → · Contrast checker → · Palette generator →

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