#2D5CA5#2D5CA5

#2D5CA5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.128 H 259.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2D5CA5
RGBrgb(45, 92, 165)
HSLhsl(217, 57%, 41%)
HSVhsv(217, 73%, 65%)
CMYKcmyk(72.7%, 44.2%, 0%, 35.3%)
CIE-LABlab(39.46, 9.67, -44.05)
CIE-LCHlch(39.46, 45.10, 282.38°)
OKLaboklab(48.1% -0.0245 -0.126)
OKLCHoklch(48.1% 0.128 259)
XYZxyz(11.6984, 10.9275, 37.0827)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CA5 #A5762D
analogous
#2D98A5 #2D5CA5 #3A2DA5
triadic
#2D5CA5 #A52D5C #5CA52D
tetradic
#2D5CA5 #A52D98 #A5762D #2DA53A
square
#2D5CA5 #A52D98 #A5762D #2DA53A
split-complementary
#2D5CA5 #A53A2D #98A52D
monochromatic
#132645 #204175 #2D5CA5 #4379CC #739BD9

Accessibility & contrast

On white

6.59
#2D5CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D5CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CA5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CA5#FFFFFF#000000##FFFFFF
##2D5CA51.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#2258A4
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5ca5;
/* rgb */ color: rgb(45, 92, 165);
/* oklch */ color: oklch(48.1% 0.128 259.0);
Tailwind
colors: {
  custom: {
    50: '#7589c0',
    500: '#2d5ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ca5;
$custom-light: #7589c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ca5",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 216.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.12838,
    "h": 259
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#2D5CA5
secondary
#C1A06D
accent
#A447E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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