#2D5CA4#2D5CA4

#2D5CA4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.127 H 258.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2D5CA4
RGBrgb(45, 92, 164)
HSLhsl(216, 57%, 41%)
HSVhsv(216, 73%, 64%)
CMYKcmyk(72.6%, 43.9%, 0%, 35.7%)
CIE-LABlab(39.40, 9.29, -43.56)
CIE-LCHlch(39.40, 44.53, 282.04°)
OKLaboklab(48.03% -0.0247 -0.1246)
OKLCHoklch(48.03% 0.127 258.8)
XYZxyz(11.6077, 10.8913, 36.6052)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CA4 #A4752D
analogous
#2D97A4 #2D5CA4 #3A2DA4
triadic
#2D5CA4 #A42D5C #5CA42D
tetradic
#2D5CA4 #A42D97 #A4752D #2DA43A
square
#2D5CA4 #A42D97 #A4752D #2DA43A
split-complementary
#2D5CA4 #A43A2D #97A42D
monochromatic
#132644 #204174 #2D5CA4 #4379CB #739BD9

Accessibility & contrast

On white

6.61
#2D5CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2D5CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CA4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CA4#FFFFFF#000000##FFFFFF
##2D5CA41.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A7
Deuteranopia (green-blind)
#2358A3
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5ca4;
/* rgb */ color: rgb(45, 92, 164);
/* oklch */ color: oklch(48.0% 0.127 258.8);
Tailwind
colors: {
  custom: {
    50: '#7589bf',
    500: '#2d5ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ca4;
$custom-light: #7589bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ca4",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 216.303,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.12699,
    "h": 258.8
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#2D5CA4
secondary
#C09F6D
accent
#A448E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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