#2D5A8B#2D5A8B

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

Color values

HEX#2D5A8B
RGBrgb(45, 90, 139)
HSLhsl(211, 51%, 36%)
HSVhsv(211, 68%, 55%)
CMYKcmyk(67.6%, 35.3%, 0%, 45.5%)
CIE-LABlab(37.36, 1.20, -31.77)
CIE-LCHlch(37.36, 31.79, 272.16°)
OKLaboklab(45.98% -0.0287 -0.09)
OKLCHoklch(45.98% 0.095 252.3)
XYZxyz(9.3968, 9.7334, 25.8046)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A8B #8B5E2D
analogous
#2D898B #2D5A8B #2F2D8B
triadic
#2D5A8B #8B2D5A #5A8B2D
tetradic
#2D5A8B #8B2D89 #8B5E2D #2D8B2F
square
#2D5A8B #8B2D89 #8B5E2D #2D8B2F
split-complementary
#2D5A8B #8B2F2D #898B2D
monochromatic
#0F1E2F #1E3C5D #2D5A8B #3C78B9 #6597CD

Accessibility & contrast

On white

7.13
#2D5A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2D5A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5A8B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A8B#FFFFFF#000000##FFFFFF
##2D5A8B1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d5a8b;
/* rgb */ color: rgb(45, 90, 139);
/* oklch */ color: oklch(46.0% 0.095 252.3);
Tailwind
colors: {
  custom: {
    50: '#7088ad',
    500: '#2d5a8b',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a8b;
$custom-light: #7088ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a8b",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 139
  },
  "hsl": {
    "h": 211.277,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.09453,
    "h": 252.3
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#2D5A8B
secondary
#B48C60
accent
#974DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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