#2D5CA9#2D5CA9

#2D5CA9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.4% C 0.134 H 259.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2D5CA9
RGBrgb(45, 92, 169)
HSLhsl(217, 58%, 42%)
HSVhsv(217, 73%, 66%)
CMYKcmyk(73.4%, 45.6%, 0%, 33.7%)
CIE-LABlab(39.71, 11.19, -46.03)
CIE-LCHlch(39.71, 47.37, 283.66°)
OKLaboklab(48.37% -0.0237 -0.1318)
OKLCHoklch(48.37% 0.134 259.8)
XYZxyz(12.0682, 11.0754, 39.0302)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CA9 #A97A2D
analogous
#2D9AA9 #2D5CA9 #3C2DA9
triadic
#2D5CA9 #A92D5C #5CA92D
tetradic
#2D5CA9 #A92D9A #A97A2D #2DA93C
square
#2D5CA9 #A92D9A #A97A2D #2DA93C
split-complementary
#2D5CA9 #A93C2D #9AA92D
monochromatic
#132748 #204279 #2D5CA9 #4679CE #769CDA

Accessibility & contrast

On white

6.53
#2D5CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2D5CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CA9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CA9#FFFFFF#000000##FFFFFF
##2D5CA91.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AC
Deuteranopia (green-blind)
#1C58A7
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5ca9;
/* rgb */ color: rgb(45, 92, 169);
/* oklch */ color: oklch(48.4% 0.134 259.8);
Tailwind
colors: {
  custom: {
    50: '#7689c3',
    500: '#2d5ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ca9;
$custom-light: #7689c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ca9",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 217.258,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.13394,
    "h": 259.8
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#2D5CA9
secondary
#C2A36F
accent
#A747E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2D5CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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