#2D5DA1#2D5DA1

#2D5DA1 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.1% C 0.122 H 257.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2D5DA1
RGBrgb(45, 93, 161)
HSLhsl(215, 56%, 40%)
HSVhsv(215, 72%, 63%)
CMYKcmyk(72%, 42.2%, 0%, 36.9%)
CIE-LABlab(39.51, 7.51, -41.59)
CIE-LCHlch(39.51, 42.26, 280.23°)
OKLaboklab(48.06% -0.0263 -0.1188)
OKLCHoklch(48.06% 0.122 257.5)
XYZxyz(11.4272, 10.9586, 35.2243)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DA1 #A1712D
analogous
#2D97A1 #2D5DA1 #372DA1
triadic
#2D5DA1 #A12D5D #5DA12D
tetradic
#2D5DA1 #A12D97 #A1712D #2DA137
square
#2D5DA1 #A12D97 #A1712D #2DA137
split-complementary
#2D5DA1 #A1372D #97A12D
monochromatic
#122641 #204171 #2D5DA1 #417ACA #719BD7

Accessibility & contrast

On white

6.58
#2D5DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D5DA1
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DA1#FFFFFF#000000##FFFFFF
##2D5DA11.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5da1;
/* rgb */ color: rgb(45, 93, 161);
/* oklch */ color: oklch(48.1% 0.122 257.5);
Tailwind
colors: {
  custom: {
    50: '#758abd',
    500: '#2d5da1',
    950: '#000000',
  },
}
SCSS
$custom: #2d5da1;
$custom-light: #758abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5da1",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 161
  },
  "hsl": {
    "h": 215.172,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.12164,
    "h": 257.5
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#2D5DA1
secondary
#BF9C6B
accent
#A148E0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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