#2D5A97#2D5A97

#2D5A97 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.7% C 0.111 H 256.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2D5A97
RGBrgb(45, 90, 151)
HSLhsl(215, 54%, 38%)
HSVhsv(215, 70%, 59%)
CMYKcmyk(70.2%, 40.4%, 0%, 40.8%)
CIE-LABlab(38.03, 5.67, -37.96)
CIE-LCHlch(38.03, 38.39, 278.50°)
OKLaboklab(46.72% -0.0256 -0.1082)
OKLCHoklch(46.72% 0.111 256.7)
XYZxyz(10.3222, 10.1035, 30.6783)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A97 #976A2D
analogous
#2D8F97 #2D5A97 #352D97
triadic
#2D5A97 #972D5A #5A972D
tetradic
#2D5A97 #972D8F #976A2D #2D9735
square
#2D5A97 #972D8F #976A2D #2D9735
split-complementary
#2D5A97 #97352D #8F972D
monochromatic
#112239 #1F3E68 #2D5A97 #3C76C5 #6B97D3

Accessibility & contrast

On white

6.95
#2D5A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2D5A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5A97
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A97#FFFFFF#000000##FFFFFF
##2D5A971.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#2E5596
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5a97;
/* rgb */ color: rgb(45, 90, 151);
/* oklch */ color: oklch(46.7% 0.111 256.7);
Tailwind
colors: {
  custom: {
    50: '#7388b6',
    500: '#2d5a97',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a97;
$custom-light: #7388b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a97",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 214.528,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46719,
    "c": 0.11117,
    "h": 256.7
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#2D5A97
secondary
#BA9666
accent
#9F4ADD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5A97

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

Preview Lab → · Contrast checker → · Palette generator →

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