#2D5EAE#2D5EAE

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

Color values

HEX#2D5EAE
RGBrgb(45, 94, 174)
HSLhsl(217, 59%, 43%)
HSVhsv(217, 74%, 68%)
CMYKcmyk(74.1%, 46%, 0%, 31.8%)
CIE-LABlab(40.60, 11.79, -47.54)
CIE-LCHlch(40.60, 48.98, 283.93°)
OKLaboklab(49.16% -0.0246 -0.1362)
OKLCHoklch(49.16% 0.138 259.7)
XYZxyz(12.7221, 11.6179, 41.6082)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EAE #AE7D2D
analogous
#2D9EAE #2D5EAE #3C2DAE
triadic
#2D5EAE #AE2D5E #5EAE2D
tetradic
#2D5EAE #AE2D9E #AE7D2D #2DAE3C
square
#2D5EAE #AE2D9E #AE7D2D #2DAE3C
split-complementary
#2D5EAE #AE3C2D #9EAE2D
monochromatic
#14294D #20447D #2D5EAE #487CD0 #799FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5EAE#FFFFFF#000000##FFFFFF
##2D5EAE1.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)
#3566B1
Deuteranopia (green-blind)
#195AAC
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5eae;
/* rgb */ color: rgb(45, 94, 174);
/* oklch */ color: oklch(49.2% 0.138 259.7);
Tailwind
colors: {
  custom: {
    50: '#778bc7',
    500: '#2d5eae',
    950: '#000000',
  },
}
SCSS
$custom: #2d5eae;
$custom-light: #778bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5eae",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 217.209,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.13846,
    "h": 259.7
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#2D5EAE
secondary
#C4A572
accent
#A746E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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