#2D5CA0#2D5CA0

#2D5CA0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.121 H 257.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2D5CA0
RGBrgb(45, 92, 160)
HSLhsl(215, 56%, 40%)
HSVhsv(215, 72%, 63%)
CMYKcmyk(71.9%, 42.5%, 0%, 37.3%)
CIE-LABlab(39.15, 7.78, -41.56)
CIE-LCHlch(39.15, 42.28, 280.60°)
OKLaboklab(47.77% -0.0255 -0.1187)
OKLCHoklch(47.77% 0.121 257.9)
XYZxyz(11.2522, 10.7490, 34.7327)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CA0 #A0712D
analogous
#2D96A0 #2D5CA0 #372DA0
triadic
#2D5CA0 #A02D5C #5CA02D
tetradic
#2D5CA0 #A02D96 #A0712D #2DA037
square
#2D5CA0 #A02D96 #A0712D #2DA037
split-complementary
#2D5CA0 #A0372D #96A02D
monochromatic
#122540 #204170 #2D5CA0 #4179C9 #709AD7

Accessibility & contrast

On white

6.67
#2D5CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2D5CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CA0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CA0#FFFFFF#000000##FFFFFF
##2D5CA01.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#28579F
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d5ca0;
/* rgb */ color: rgb(45, 92, 160);
/* oklch */ color: oklch(47.8% 0.121 257.9);
Tailwind
colors: {
  custom: {
    50: '#7489bc',
    500: '#2d5ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ca0;
$custom-light: #7489bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ca0",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 215.478,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47766,
    "c": 0.12142,
    "h": 257.9
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#2D5CA0
secondary
#BE9C6B
accent
#A248DF
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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