#2D5A90#2D5A90

#2D5A90 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.101 H 254.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2D5A90
RGBrgb(45, 90, 144)
HSLhsl(213, 52%, 37%)
HSVhsv(213, 69%, 56%)
CMYKcmyk(68.7%, 37.5%, 0%, 43.5%)
CIE-LABlab(37.63, 3.05, -34.37)
CIE-LCHlch(37.63, 34.51, 275.08°)
OKLaboklab(46.28% -0.0274 -0.0976)
OKLCHoklch(46.28% 0.101 254.3)
XYZxyz(9.7706, 9.8828, 27.7728)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A90 #90632D
analogous
#2D8C90 #2D5A90 #312D90
triadic
#2D5A90 #902D5A #5A902D
tetradic
#2D5A90 #902D8C #90632D #2D9031
square
#2D5A90 #902D8C #90632D #2D9031
split-complementary
#2D5A90 #90312D #8C902D
monochromatic
#102033 #1E3D61 #2D5A90 #3C77BF #6897D0

Accessibility & contrast

On white

7.05
#2D5A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2D5A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5A90
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A90#FFFFFF#000000##FFFFFF
##2D5A901.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5a90;
/* rgb */ color: rgb(45, 90, 144);
/* oklch */ color: oklch(46.3% 0.101 254.3);
Tailwind
colors: {
  custom: {
    50: '#7188b1',
    500: '#2d5a90',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a90;
$custom-light: #7188b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a90",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 144
  },
  "hsl": {
    "h": 212.727,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46281,
    "c": 0.10141,
    "h": 254.3
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#2D5A90
secondary
#B69062
accent
#9A4CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5A90

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

Preview Lab → · Contrast checker → · Palette generator →

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