#2D5B90#2D5B90

#2D5B90 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.5% C 0.100 H 253.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2D5B90
RGBrgb(45, 91, 144)
HSLhsl(212, 52%, 37%)
HSVhsv(212, 69%, 56%)
CMYKcmyk(68.7%, 36.8%, 0%, 43.5%)
CIE-LABlab(37.94, 2.41, -33.89)
CIE-LCHlch(37.94, 33.97, 274.07°)
OKLaboklab(46.52% -0.0284 -0.0962)
OKLCHoklch(46.52% 0.1 253.5)
XYZxyz(9.8555, 10.0527, 27.8011)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B90 #90622D
analogous
#2D8D90 #2D5B90 #302D90
triadic
#2D5B90 #902D5B #5B902D
tetradic
#2D5B90 #902D8D #90622D #2D9030
square
#2D5B90 #902D8D #90622D #2D9030
split-complementary
#2D5B90 #90302D #8D902D
monochromatic
#102033 #1E3E61 #2D5B90 #3C78BF #6898D0

Accessibility & contrast

On white

6.97
#2D5B90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2D5B90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5B90
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B90#FFFFFF#000000##FFFFFF
##2D5B901.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E92
Deuteranopia (green-blind)
#35558F
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5b90;
/* rgb */ color: rgb(45, 91, 144);
/* oklch */ color: oklch(46.5% 0.100 253.5);
Tailwind
colors: {
  custom: {
    50: '#7189b1',
    500: '#2d5b90',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b90;
$custom-light: #7189b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b90",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 144
  },
  "hsl": {
    "h": 212.121,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.10034,
    "h": 253.5
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#2D5B90
secondary
#B68F62
accent
#994CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5B90

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

Preview Lab → · Contrast checker → · Palette generator →

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