#2D5EC9#2D5EC9

#2D5EC9 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.175 H 263.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2D5EC9
RGBrgb(45, 94, 201)
HSLhsl(221, 63%, 48%)
HSVhsv(221, 78%, 79%)
CMYKcmyk(77.6%, 53.2%, 0%, 21.2%)
CIE-LABlab(42.43, 22.05, -60.35)
CIE-LCHlch(42.43, 64.25, 290.07°)
OKLaboklab(51.14% -0.021 -0.1739)
OKLCHoklch(51.14% 0.175 263.1)
XYZxyz(15.6237, 12.7785, 56.8901)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EC9 #C9982D
analogous
#2DACC9 #2D5EC9 #4A2DC9
triadic
#2D5EC9 #C92D5E #5EC92D
tetradic
#2D5EC9 #C92DAC #C9982D #2DC94A
square
#2D5EC9 #C92DAC #C9982D #2DC94A
split-complementary
#2D5EC9 #C94A2D #ACC92D
monochromatic
#172F65 #224797 #2D5EC9 #5982DA #8BA8E5

Accessibility & contrast

On white

5.91
#2D5EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2D5EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EC9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EC9#FFFFFF#000000##FFFFFF
##2D5EC91.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076CCD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d5ec9;
/* rgb */ color: rgb(45, 94, 201);
/* oklch */ color: oklch(51.1% 0.175 263.1);
Tailwind
colors: {
  custom: {
    50: '#7d8bda',
    500: '#2d5ec9',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ec9;
$custom-light: #7d8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ec9",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 221.154,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.17519,
    "h": 263.1
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#2D5EC9
secondary
#CFB783
accent
#B341E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2D5EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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