#2D598E#2D598E

#2D598E is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.9% C 0.100 H 254.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2D598E
RGBrgb(45, 89, 142)
HSLhsl(213, 52%, 37%)
HSVhsv(213, 68%, 56%)
CMYKcmyk(68.3%, 37.3%, 0%, 44.3%)
CIE-LABlab(37.22, 2.95, -33.82)
CIE-LCHlch(37.22, 33.95, 274.99°)
OKLaboklab(45.92% -0.0268 -0.096)
OKLCHoklch(45.92% 0.1 254.4)
XYZxyz(9.5353, 9.6547, 26.9470)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D598E #8E622D
analogous
#2D8A8E #2D598E #322D8E
triadic
#2D598E #8E2D59 #598E2D
tetradic
#2D598E #8E2D8A #8E622D #2D8E32
square
#2D598E #8E2D8A #8E622D #2D8E32
split-complementary
#2D598E #8E322D #8A8E2D
monochromatic
#101F31 #1E3C60 #2D598E #3C76BC #6796CF

Accessibility & contrast

On white

7.16
#2D598E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2D598E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D598E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D598E#FFFFFF#000000##FFFFFF
##2D598E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#34538D
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d598e;
/* rgb */ color: rgb(45, 89, 142);
/* oklch */ color: oklch(45.9% 0.100 254.4);
Tailwind
colors: {
  custom: {
    50: '#7187af',
    500: '#2d598e',
    950: '#000000',
  },
}
SCSS
$custom: #2d598e;
$custom-light: #7187af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d598e",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 142
  },
  "hsl": {
    "h": 212.784,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.09973,
    "h": 254.4
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#2D598E
secondary
#B58F61
accent
#9B4CDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D598E

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

Preview Lab → · Contrast checker → · Palette generator →

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