#2D598A#2D598A

#2D598A is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.094 H 252.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2D598A
RGBrgb(45, 89, 138)
HSLhsl(212, 51%, 36%)
HSVhsv(212, 67%, 54%)
CMYKcmyk(67.4%, 35.5%, 0%, 45.9%)
CIE-LABlab(37.00, 1.47, -31.73)
CIE-LCHlch(37.00, 31.77, 272.65°)
OKLaboklab(45.68% -0.0279 -0.09)
OKLCHoklch(45.68% 0.094 252.7)
XYZxyz(9.2403, 9.5367, 25.3936)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D598A #8A5E2D
analogous
#2D878A #2D598A #2F2D8A
triadic
#2D598A #8A2D59 #598A2D
tetradic
#2D598A #8A2D87 #8A5E2D #2D8A2F
square
#2D598A #8A2D87 #8A5E2D #2D8A2F
split-complementary
#2D598A #8A2F2D #878A2D
monochromatic
#0F1D2E #1E3B5C #2D598A #3C77B8 #6596CD

Accessibility & contrast

On white

7.22
#2D598A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2D598A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D598A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D598A#FFFFFF#000000##FFFFFF
##2D598A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#375389
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d598a;
/* rgb */ color: rgb(45, 89, 138);
/* oklch */ color: oklch(45.7% 0.094 252.7);
Tailwind
colors: {
  custom: {
    50: '#7087ac',
    500: '#2d598a',
    950: '#000000',
  },
}
SCSS
$custom: #2d598a;
$custom-light: #7087ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d598a",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 138
  },
  "hsl": {
    "h": 211.613,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.0942,
    "h": 252.7
  },
  "luminance": 0.09538
}

Semantic roles & 50–950 ramp

primary
#2D598A
secondary
#B38C60
accent
#984DDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D598A

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

Preview Lab → · Contrast checker → · Palette generator →

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