#2D5CAE#2D5CAE

#2D5CAE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.141 H 260.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2D5CAE
RGBrgb(45, 92, 174)
HSLhsl(218, 59%, 43%)
HSVhsv(218, 74%, 68%)
CMYKcmyk(74.1%, 47.1%, 0%, 31.8%)
CIE-LABlab(40.03, 13.09, -48.47)
CIE-LCHlch(40.03, 50.21, 285.12°)
OKLaboklab(48.72% -0.0229 -0.139)
OKLCHoklch(48.72% 0.141 260.7)
XYZxyz(12.5466, 11.2668, 41.5497)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CAE #AE7F2D
analogous
#2D9CAE #2D5CAE #3F2DAE
triadic
#2D5CAE #AE2D5C #5CAE2D
tetradic
#2D5CAE #AE2D9C #AE7F2D #2DAE3F
square
#2D5CAE #AE2D9C #AE7F2D #2DAE3F
split-complementary
#2D5CAE #AE3F2D #9CAE2D
monochromatic
#14294D #20427D #2D5CAE #487AD0 #799DDC

Accessibility & contrast

On white

6.45
#2D5CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2D5CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CAE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CAE#FFFFFF#000000##FFFFFF
##2D5CAE1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#1059AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5cae;
/* rgb */ color: rgb(45, 92, 174);
/* oklch */ color: oklch(48.7% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#7789c7',
    500: '#2d5cae',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cae;
$custom-light: #7789c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cae",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 218.14,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.14088,
    "h": 260.7
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#2D5CAE
secondary
#C4A772
accent
#A946E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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