#2D5790#2D5790

#2D5790 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.105 H 256.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2D5790
RGBrgb(45, 87, 144)
HSLhsl(215, 52%, 37%)
HSVhsv(215, 69%, 56%)
CMYKcmyk(68.7%, 39.6%, 0%, 43.5%)
CIE-LABlab(36.72, 4.99, -35.82)
CIE-LCHlch(36.72, 36.16, 277.93°)
OKLaboklab(45.57% -0.0242 -0.1019)
OKLCHoklch(45.57% 0.105 256.6)
XYZxyz(9.5226, 9.3869, 27.6902)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5790 #90662D
analogous
#2D8990 #2D5790 #342D90
triadic
#2D5790 #902D57 #57902D
tetradic
#2D5790 #902D89 #90662D #2D9034
square
#2D5790 #902D89 #90662D #2D9034
split-complementary
#2D5790 #90342D #89902D
monochromatic
#101F33 #1E3B61 #2D5790 #3C73BF #6894D0

Accessibility & contrast

On white

7.30
#2D5790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D5790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5790
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5790#FFFFFF#000000##FFFFFF
##2D57901.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B92
Deuteranopia (green-blind)
#2F528F
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5790;
/* rgb */ color: rgb(45, 87, 144);
/* oklch */ color: oklch(45.6% 0.105 256.6);
Tailwind
colors: {
  custom: {
    50: '#7186b1',
    500: '#2d5790',
    950: '#000000',
  },
}
SCSS
$custom: #2d5790;
$custom-light: #7186b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5790",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 144
  },
  "hsl": {
    "h": 214.545,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4557,
    "c": 0.10476,
    "h": 256.6
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#2D5790
secondary
#B69362
accent
#9F4CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5790

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

Preview Lab → · Contrast checker → · Palette generator →

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