#2D5EB9#2D5EB9

#2D5EB9 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.154 H 261.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2D5EB9
RGBrgb(45, 94, 185)
HSLhsl(219, 61%, 45%)
HSVhsv(219, 76%, 73%)
CMYKcmyk(75.7%, 49.2%, 0%, 27.5%)
CIE-LABlab(41.32, 15.98, -52.85)
CIE-LCHlch(41.32, 55.21, 286.82°)
OKLaboklab(49.94% -0.0229 -0.1519)
OKLCHoklch(49.94% 0.154 261.4)
XYZxyz(13.8387, 12.0645, 47.4889)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EB9 #B9882D
analogous
#2DA4B9 #2D5EB9 #422DB9
triadic
#2D5EB9 #B92D5E #5EB92D
tetradic
#2D5EB9 #B92DA4 #B9882D #2DB942
square
#2D5EB9 #B92DA4 #B9882D #2DB942
split-complementary
#2D5EB9 #B9422D #A4B92D
monochromatic
#152C57 #214588 #2D5EB9 #4F7ED4 #80A2E0

Accessibility & contrast

On white

6.15
#2D5EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2D5EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EB9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EB9#FFFFFF#000000##FFFFFF
##2D5EB91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2968BC
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5eb9;
/* rgb */ color: rgb(45, 94, 185);
/* oklch */ color: oklch(49.9% 0.154 261.4);
Tailwind
colors: {
  custom: {
    50: '#7a8bcf',
    500: '#2d5eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d5eb9;
$custom-light: #7a8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5eb9",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 219,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49943,
    "c": 0.15358,
    "h": 261.4
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#2D5EB9
secondary
#C9AD79
accent
#AC44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D5EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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