#2D5EAC#2D5EAC

#2D5EAC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.136 H 259.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2D5EAC
RGBrgb(45, 94, 172)
HSLhsl(217, 59%, 43%)
HSVhsv(217, 74%, 67%)
CMYKcmyk(73.8%, 45.3%, 0%, 32.5%)
CIE-LABlab(40.48, 11.03, -46.57)
CIE-LCHlch(40.48, 47.86, 283.33°)
OKLaboklab(49.03% -0.025 -0.1334)
OKLCHoklch(49.03% 0.136 259.4)
XYZxyz(12.5286, 11.5405, 40.5890)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EAC #AC7B2D
analogous
#2D9EAC #2D5EAC #3B2DAC
triadic
#2D5EAC #AC2D5E #5EAC2D
tetradic
#2D5EAC #AC2D9E #AC7B2D #2DAC3B
square
#2D5EAC #AC2D9E #AC7B2D #2DAC3B
split-complementary
#2D5EAC #AC3B2D #9EAC2D
monochromatic
#14294B #20437B #2D5EAC #477CCF #789EDC

Accessibility & contrast

On white

6.35
#2D5EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2D5EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EAC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EAC#FFFFFF#000000##FFFFFF
##2D5EAC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666AF
Deuteranopia (green-blind)
#1C5AAA
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5eac;
/* rgb */ color: rgb(45, 94, 172);
/* oklch */ color: oklch(49.0% 0.136 259.4);
Tailwind
colors: {
  custom: {
    50: '#778bc5',
    500: '#2d5eac',
    950: '#000000',
  },
}
SCSS
$custom: #2d5eac;
$custom-light: #778bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5eac",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 172
  },
  "hsl": {
    "h": 216.85,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49025,
    "c": 0.1357,
    "h": 259.4
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#2D5EAC
secondary
#C4A471
accent
#A646E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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