#2D5996#2D5996

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

Color values

HEX#2D5996
RGBrgb(45, 89, 150)
HSLhsl(215, 54%, 38%)
HSVhsv(215, 70%, 59%)
CMYKcmyk(70%, 40.7%, 0%, 41.2%)
CIE-LABlab(37.67, 5.94, -37.93)
CIE-LCHlch(37.67, 38.40, 278.91°)
OKLaboklab(46.42% -0.0248 -0.1081)
OKLCHoklch(46.42% 0.111 257.1)
XYZxyz(10.1576, 9.9036, 30.2245)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5996 #966A2D
analogous
#2D8D96 #2D5996 #352D96
triadic
#2D5996 #962D59 #59962D
tetradic
#2D5996 #962D8D #966A2D #2D9635
square
#2D5996 #962D8D #966A2D #2D9635
split-complementary
#2D5996 #96352D #8D962D
monochromatic
#112138 #1F3D67 #2D5996 #3C75C4 #6B96D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5996#FFFFFF#000000##FFFFFF
##2D59961.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)
#3D5E98
Deuteranopia (green-blind)
#2D5495
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5996;
/* rgb */ color: rgb(45, 89, 150);
/* oklch */ color: oklch(46.4% 0.111 257.1);
Tailwind
colors: {
  custom: {
    50: '#7287b5',
    500: '#2d5996',
    950: '#000000',
  },
}
SCSS
$custom: #2d5996;
$custom-light: #7287b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5996",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 150
  },
  "hsl": {
    "h": 214.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.11091,
    "h": 257.1
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#2D5996
secondary
#B99665
accent
#A04BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5996

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

Preview Lab → · Contrast checker → · Palette generator →

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