#2D5FA9#2D5FA9

#2D5FA9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.0% C 0.130 H 258.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2D5FA9
RGBrgb(45, 95, 169)
HSLhsl(216, 58%, 42%)
HSVhsv(216, 73%, 66%)
CMYKcmyk(73.4%, 43.8%, 0%, 33.7%)
CIE-LABlab(40.58, 9.24, -44.62)
CIE-LCHlch(40.58, 45.57, 281.70°)
OKLaboklab(49.05% -0.0265 -0.1277)
OKLCHoklch(49.05% 0.13 258.3)
XYZxyz(12.3332, 11.6055, 39.1185)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FA9 #A9772D
analogous
#2D9DA9 #2D5FA9 #392DA9
triadic
#2D5FA9 #A92D5F #5FA92D
tetradic
#2D5FA9 #A92D9D #A9772D #2DA939
square
#2D5FA9 #A92D9D #A9772D #2DA939
split-complementary
#2D5FA9 #A9392D #9DA92D
monochromatic
#132948 #204479 #2D5FA9 #467CCE #769EDA

Accessibility & contrast

On white

6.32
#2D5FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2D5FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FA9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FA9#FFFFFF#000000##FFFFFF
##2D5FA91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AC
Deuteranopia (green-blind)
#245AA8
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5fa9;
/* rgb */ color: rgb(45, 95, 169);
/* oklch */ color: oklch(49.0% 0.130 258.3);
Tailwind
colors: {
  custom: {
    50: '#768bc3',
    500: '#2d5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fa9;
$custom-light: #768bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fa9",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 215.806,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49047,
    "c": 0.13037,
    "h": 258.3
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#2D5FA9
secondary
#C2A16F
accent
#A347E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2D5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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