#2D5990#2D5990

#2D5990 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.0% C 0.103 H 255.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2D5990
RGBrgb(45, 89, 144)
HSLhsl(213, 52%, 37%)
HSVhsv(213, 69%, 56%)
CMYKcmyk(68.7%, 38.2%, 0%, 43.5%)
CIE-LABlab(37.33, 3.70, -34.85)
CIE-LCHlch(37.33, 35.05, 276.05°)
OKLaboklab(46.04% -0.0263 -0.0991)
OKLCHoklch(46.04% 0.103 255.1)
XYZxyz(9.6868, 9.7153, 27.7449)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5990 #90642D
analogous
#2D8B90 #2D5990 #322D90
triadic
#2D5990 #902D59 #59902D
tetradic
#2D5990 #902D8B #90642D #2D9032
square
#2D5990 #902D8B #90642D #2D9032
split-complementary
#2D5990 #90322D #8B902D
monochromatic
#101F33 #1E3C61 #2D5990 #3C76BF #6896D0

Accessibility & contrast

On white

7.14
#2D5990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2D5990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5990
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5990#FFFFFF#000000##FFFFFF
##2D59901.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D92
Deuteranopia (green-blind)
#32548F
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d5990;
/* rgb */ color: rgb(45, 89, 144);
/* oklch */ color: oklch(46.0% 0.103 255.1);
Tailwind
colors: {
  custom: {
    50: '#7187b1',
    500: '#2d5990',
    950: '#000000',
  },
}
SCSS
$custom: #2d5990;
$custom-light: #7187b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5990",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 144
  },
  "hsl": {
    "h": 213.333,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46043,
    "c": 0.10251,
    "h": 255.1
  },
  "luminance": 0.09716
}

Semantic roles & 50–950 ramp

primary
#2D5990
secondary
#B69162
accent
#9C4CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5990

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

Preview Lab → · Contrast checker → · Palette generator →

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