#2D5FC9#2D5FC9

#2D5FC9 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.174 H 262.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2D5FC9
RGBrgb(45, 95, 201)
HSLhsl(221, 63%, 48%)
HSVhsv(221, 78%, 79%)
CMYKcmyk(77.6%, 52.7%, 0%, 21.2%)
CIE-LABlab(42.70, 21.40, -59.91)
CIE-LCHlch(42.70, 63.62, 289.66°)
OKLaboklab(51.35% -0.0217 -0.1726)
OKLCHoklch(51.35% 0.174 262.8)
XYZxyz(15.7132, 12.9575, 56.9199)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FC9 #C9972D
analogous
#2DADC9 #2D5FC9 #492DC9
triadic
#2D5FC9 #C92D5F #5FC92D
tetradic
#2D5FC9 #C92DAD #C9972D #2DC949
square
#2D5FC9 #C92DAD #C9972D #2DC949
split-complementary
#2D5FC9 #C9492D #ADC92D
monochromatic
#173065 #224797 #2D5FC9 #5983DA #8BA8E5

Accessibility & contrast

On white

5.85
#2D5FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2D5FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FC9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FC9#FFFFFF#000000##FFFFFF
##2D5FC91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6CCD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d5fc9;
/* rgb */ color: rgb(45, 95, 201);
/* oklch */ color: oklch(51.3% 0.174 262.8);
Tailwind
colors: {
  custom: {
    50: '#7d8bda',
    500: '#2d5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fc9;
$custom-light: #7d8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fc9",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 220.769,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.17398,
    "h": 262.8
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#2D5FC9
secondary
#CFB783
accent
#B241E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2D5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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