#2D5CA7#2D5CA7

#2D5CA7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.131 H 259.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2D5CA7
RGBrgb(45, 92, 167)
HSLhsl(217, 58%, 42%)
HSVhsv(217, 73%, 65%)
CMYKcmyk(73.1%, 44.9%, 0%, 34.5%)
CIE-LABlab(39.58, 10.43, -45.04)
CIE-LCHlch(39.58, 46.23, 283.04°)
OKLaboklab(48.23% -0.0241 -0.1289)
OKLCHoklch(48.23% 0.131 259.4)
XYZxyz(11.8819, 11.0009, 38.0489)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CA7 #A7782D
analogous
#2D99A7 #2D5CA7 #3B2DA7
triadic
#2D5CA7 #A72D5C #5CA72D
tetradic
#2D5CA7 #A72D99 #A7782D #2DA73B
square
#2D5CA7 #A72D99 #A7782D #2DA73B
split-complementary
#2D5CA7 #A73B2D #99A72D
monochromatic
#132747 #204177 #2D5CA7 #4479CD #759CDA

Accessibility & contrast

On white

6.56
#2D5CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2D5CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CA7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CA7#FFFFFF#000000##FFFFFF
##2D5CA71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AA
Deuteranopia (green-blind)
#1F58A5
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5ca7;
/* rgb */ color: rgb(45, 92, 167);
/* oklch */ color: oklch(48.2% 0.131 259.4);
Tailwind
colors: {
  custom: {
    50: '#7689c1',
    500: '#2d5ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ca7;
$custom-light: #7689c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ca7",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 216.885,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48234,
    "c": 0.13117,
    "h": 259.4
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#2D5CA7
secondary
#C1A16E
accent
#A647E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2D5CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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