#2D5A91#2D5A91

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

Color values

HEX#2D5A91
RGBrgb(45, 90, 145)
HSLhsl(213, 53%, 37%)
HSVhsv(213, 69%, 57%)
CMYKcmyk(69%, 37.9%, 0%, 43.1%)
CIE-LABlab(37.69, 3.43, -34.89)
CIE-LCHlch(37.69, 35.06, 275.61°)
OKLaboklab(46.34% -0.0271 -0.0992)
OKLCHoklch(46.34% 0.103 254.7)
XYZxyz(9.8473, 9.9135, 28.1771)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A91 #91642D
analogous
#2D8C91 #2D5A91 #322D91
triadic
#2D5A91 #912D5A #5A912D
tetradic
#2D5A91 #912D8C #91642D #2D9132
square
#2D5A91 #912D8C #91642D #2D9132
split-complementary
#2D5A91 #91322D #8C912D
monochromatic
#102034 #1F3D62 #2D5A91 #3B77C0 #6897D0

Accessibility & contrast

On white

7.04
#2D5A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5A91
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A91#FFFFFF#000000##FFFFFF
##2D5A911.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E93
Deuteranopia (green-blind)
#335490
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5a91;
/* rgb */ color: rgb(45, 90, 145);
/* oklch */ color: oklch(46.3% 0.103 254.7);
Tailwind
colors: {
  custom: {
    50: '#7288b1',
    500: '#2d5a91',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a91;
$custom-light: #7288b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a91",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 213,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46342,
    "c": 0.10281,
    "h": 254.7
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#2D5A91
secondary
#B79163
accent
#9B4CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5A91

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

Preview Lab → · Contrast checker → · Palette generator →

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